diff --git a/build.sbt b/build.sbt index 5bea8ba..c7e49ea 100644 --- a/build.sbt +++ b/build.sbt @@ -31,6 +31,12 @@ lazy val `sbt-protofetch` = (project in file("sbt-protofetch")) "2.0.0-M2" // just a preparation for Scala 3 / sbt 2 } }, + scriptedSbt := { + scalaBinaryVersion.value match { + case "2.12" => (ThisBuild / sbtVersion).value + case _ => "2.0.0-M2" + } + }, libraryDependencies ++= Seq( "org.apache.commons" % "commons-compress" % versions.commonsCompress, "io.hotmoka" % "toml4j" % versions.toml4j, diff --git a/project/build.properties b/project/build.properties index e8a1e24..09feeee 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version=1.9.7 +sbt.version=1.10.4