summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeth Tisue <seth@tisue.net>2016-10-18 10:24:13 -0700
committerGitHub <noreply@github.com>2016-10-18 10:24:13 -0700
commit7ef557539ddf9cdc0959a374f95254eda21731e7 (patch)
treef564c7fbc5ed4a06cfdf3552c812649f9614f099
parent114dad8848ad97cd343f10acdac7bccd888a1576 (diff)
parenteb1260b0d446d7afd47d0dbc345bb2b8a21335fe (diff)
downloadscala-7ef557539ddf9cdc0959a374f95254eda21731e7.tar.gz
scala-7ef557539ddf9cdc0959a374f95254eda21731e7.tar.bz2
scala-7ef557539ddf9cdc0959a374f95254eda21731e7.zip
Merge pull request #5386 from dwijnand/sbt-0.13.12
Bump sbt.version to 0.13.12, without breaking
-rw-r--r--build.sbt5
-rw-r--r--project/build.properties2
-rw-r--r--scripts/common2
3 files changed, 7 insertions, 2 deletions
diff --git a/build.sbt b/build.sbt
index 95dc156f16..6e8b02441a 100644
--- a/build.sbt
+++ b/build.sbt
@@ -109,6 +109,11 @@ lazy val commonSettings = clearSourceAndResourceDirectories ++ publishSettings +
}
},
scalaVersion := (scalaVersion in bootstrap).value,
+ // As of sbt 0.13.12 (sbt/sbt#2634) sbt endeavours to align both scalaOrganization and scalaVersion
+ // in the Scala artefacts, for example scala-library and scala-compiler.
+ // This doesn't work in the scala/scala build because the version of scala-library and the scalaVersion of
+ // scala-library are correct to be different. So disable overriding.
+ ivyScala ~= (_ map (_ copy (overrideScalaVersion = false))),
// we always assume that Java classes are standalone and do not have any dependency
// on Scala classes
compileOrder := CompileOrder.JavaThenScala,
diff --git a/project/build.properties b/project/build.properties
index 43b8278c68..35c88bab7d 100644
--- a/project/build.properties
+++ b/project/build.properties
@@ -1 +1 @@
-sbt.version=0.13.11
+sbt.version=0.13.12
diff --git a/scripts/common b/scripts/common
index c4469348f4..6c870f720f 100644
--- a/scripts/common
+++ b/scripts/common
@@ -19,7 +19,7 @@ mkdir -p $IVY_CACHE
rm -rf $IVY_CACHE/cache/org.scala-lang
SBT_CMD=${sbtCmd-sbt}
-SBT_CMD="$SBT_CMD -sbt-version 0.13.11"
+SBT_CMD="$SBT_CMD -sbt-version 0.13.12"
# temp dir where all 'non-build' operation are performed
TMP_ROOT_DIR=$(mktemp -d -t pr-scala.XXXX)