Skip to content

Commit

Permalink
Merge pull request #182 from 2m/wip-sbt-0.13.16-RC1-2m
Browse files Browse the repository at this point in the history
Update to sbt 0.13.16-RC1
  • Loading branch information
dwijnand authored Jul 24, 2017
2 parents 73112c5 + b2088cc commit eb766ff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 23 deletions.
19 changes: 1 addition & 18 deletions project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ object BuildSettings {

val commonSettings = Defaults.coreDefaultSettings ++ Seq (
organization := buildOrganization,
scalaVersion := sys.props.getOrElse("mima.buildScalaVersion", "2.10.6"),
scalaVersion := sys.props.getOrElse("mima.buildScalaVersion",
(CrossVersion partialVersion (sbtVersion in pluginCrossBuild).value match {
case Some((0, 13)) => "2.10.6"
Expand Down Expand Up @@ -98,7 +97,7 @@ object MimaBuild {
settings(name := buildName,
publish := (),
publishLocal := (),
crossSbtVersions := List("0.13.16-M1", "1.0.0-RC2"),
crossSbtVersions := List("0.13.16-RC1", "1.0.0-RC2"),
testScalaVersion in Global := sys.props.getOrElse("mima.testScalaVersion", scalaVersion.value)
)
enablePlugins(GitVersioning)
Expand Down Expand Up @@ -161,22 +160,6 @@ object MimaBuild {
settings(sbtPublishSettings:_*)
)

// WORKAROUND https://github.com/sbt/sbt/issues/3325
def scriptedSettings = Def settings (
ScriptedPlugin.scriptedSettings filterNot (_.key.key.label == libraryDependencies.key.label),
libraryDependencies ++= {
val cross = CrossVersion.partialVersion(scriptedSbt.value) match {
case Some((0, 13)) => CrossVersion.Disabled
case Some((1, _)) => CrossVersion.binary
case _ => sys error s"Unhandled sbt version ${scriptedSbt.value}"
}
Seq(
"org.scala-sbt" % "scripted-sbt" % scriptedSbt.value % scriptedConf.toString cross cross,
"org.scala-sbt" % "sbt-launch" % scriptedSbt.value % scriptedLaunchConf.toString
)
}
)

lazy val reporterFunctionalTests = project("reporter-functional-tests",
file("reporter") / "functional-tests" ,
settings = commonSettings)
Expand Down
2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.16-M1
sbt.version=0.13.16-RC1
4 changes: 0 additions & 4 deletions sbtplugin/src/main/scala-sbt-0.13/compat.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ package sbt

object compat {
val scalaModuleInfo = SettingKey[Option[librarymanagement.ScalaModuleInfo]]("ivyScala")

implicit class ModuleIdOps(val _m: ModuleID) extends AnyVal {
def withName(n: String): ModuleID = _m copy (name = n)
}
}

package librarymanagement {
Expand Down

0 comments on commit eb766ff

Please sign in to comment.