Created
April 23, 2018 07:55
-
-
Save visualskyrim/36e88b75de4f69c099acf0db24899d0a to your computer and use it in GitHub Desktop.
scala style setting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lazy val compileScalastyle = taskKey[Unit]("compileScalastyle") | |
// scalastyle >= 0.9.0 | |
compileScalastyle := scalastyle.in(Compile).toTask("").value | |
(compile in Compile) := ((compile in Compile) dependsOn compileScalastyle).value | |
assemblyMergeStrategy in assembly := { | |
case PathList("META-INF", xs @ _*) => MergeStrategy.discard | |
case x => MergeStrategy.first | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment