From cdebcee6abfc51fd7fb3f1fc512d91817f921509 Mon Sep 17 00:00:00 2001 From: Eugene Yokota Date: Sun, 6 Oct 2024 04:02:48 -0400 Subject: [PATCH] wip --- build.sbt | 6 ++++++ 1 file changed, 6 insertions(+) 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)