Created
March 7, 2015 16:02
-
-
Save farmdawgnation/85172b0933ad4c1864f8 to your computer and use it in GitHub Desktop.
Examples for skipping a scala version
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
(skip in compile) <<= scalaVersion { sv => () => sv == "2.9.3" } |
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
libraryDependencies ++= Seq( | |
"net.liftweb" %% "lift-json" % "2.6" cross CrossVersion.binaryMapped { | |
// Makes update resolution happy, but since w'ere not building for 2.9.3 | |
// we won't end up in runtime version hell by doing this. | |
case "2.9.3" => "2.9.1" | |
case x => x | |
} | |
) |
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
publishArtifact <<= scalaVersion { sv => sv != "2.9.3" } |
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
(skip in compile) <<= scalaVersion { sv => () => sv == "2.9.3" } | |
publishArtifact <<= scalaVersion { sv => sv != "2.9.3" } | |
libraryDependencies ++= Seq( | |
"net.liftweb" %% "lift-json" % "2.6" cross CrossVersion.binaryMapped { | |
// Makes update resolution happy, but since w'ere not building for 2.9.3 | |
// we won't end up in runtime version hell by doing this. | |
case "2.9.3" => "2.9.1" | |
case x => x | |
} | |
) |
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
[info] published dispatch-lift-json_2.9.3 to /Users/matt/.ivy2/local/net.databinder.dispatch/dispatch-lift-json_2.9.3/0.11.2/poms/dispatch-lift-json_2.9.3.pom | |
[info] published dispatch-lift-json_2.9.3 to /Users/matt/.ivy2/local/net.databinder.dispatch/dispatch-lift-json_2.9.3/0.11.2/jars/dispatch-lift-json_2.9.3.jar | |
[info] published dispatch-lift-json_2.9.3 to /Users/matt/.ivy2/local/net.databinder.dispatch/dispatch-lift-json_2.9.3/0.11.2/srcs/dispatch-lift-json_2.9.3-sources.jar | |
[info] published dispatch-lift-json_2.9.3 to /Users/matt/.ivy2/local/net.databinder.dispatch/dispatch-lift-json_2.9.3/0.11.2/docs/dispatch-lift-json_2.9.3-javadoc.jar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment