diff --git a/build.sbt b/build.sbt index 5cf2ea2..f743d11 100644 --- a/build.sbt +++ b/build.sbt @@ -31,6 +31,12 @@ lazy val root = (project in file(".")) case _ => "2.0.0-M2" } } + scriptedSbt := { + scalaBinaryVersion.value match { + case "2.12" => "1.10.2" + case _ => "2.0.0-M2" + } + } Compile / generateContrabands / sourceManaged := baseDirectory.value / "src" / "main" / "scala" scriptedLaunchOpts := { scriptedLaunchOpts.value ++ Seq("-Xmx1024M", "-Dplugin.version=" + version.value)