From 184e067a6bfbfe0038c3fc56c2a2c768fca0b2a7 Mon Sep 17 00:00:00 2001 From: Erik van Oosten Date: Wed, 28 Nov 2018 12:34:29 +0100 Subject: [PATCH] Revert "Sbt 0.13.15 -> 1.2.6." This reverts commit c8376204 --- build.sbt | 5 +---- project/build.properties | 2 +- project/build.scala | 8 ++++++++ 3 files changed, 10 insertions(+), 5 deletions(-) create mode 100644 project/build.scala diff --git a/build.sbt b/build.sbt index 16ae433a..1c4fc112 100644 --- a/build.sbt +++ b/build.sbt @@ -2,9 +2,6 @@ import sbt.Keys._ lazy val baseVersion = "3.5.9" -lazy val akkaVersion = settingKey[String]("Version of Akka compiled against") -akkaVersion := "2.3.0" - // See crossrelease.sh for valid combinations of akkaVersion and crossScalaVersion. // Developed against 2.3.* (2.4.* for scala 2.12), see crossrelease.sh for all tested and build versions. @@ -27,7 +24,7 @@ version := { description := { val av = akkaVersion.value val akkaDescription = if (av.nonEmpty) "Akka " + av +" and " else "" - "metrics-scala for " + akkaDescription + "Scala " + CrossVersion.binaryScalaVersion(scalaVersion.value) + "metrics-scala for " + akkaDescription + "Scala " + sbt.cross.CrossVersionUtil.binaryScalaVersion(scalaVersion.value) } // Developed against 2.11, see crossrelease.sh for all tested and build versions. diff --git a/project/build.properties b/project/build.properties index 7c58a83a..64317fda 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.2.6 +sbt.version=0.13.15 diff --git a/project/build.scala b/project/build.scala new file mode 100644 index 00000000..ceec5725 --- /dev/null +++ b/project/build.scala @@ -0,0 +1,8 @@ +import sbt._ +import Keys._ + +object MetricsScalaBuild extends Build { + lazy val akkaVersion = settingKey[String]("Version of Akka compiled against") + + akkaVersion := "2.3.0" +}