diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 86e4551..79a7041 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -34,7 +34,7 @@ jobs: matrix: include: - java: 8 - - java: 11 + - java: 17 steps: - uses: actions/setup-java@v5 with: diff --git a/build.sbt b/build.sbt index 14ccbd2..ed943b2 100644 --- a/build.sbt +++ b/build.sbt @@ -182,6 +182,14 @@ lazy val plugin = (projectMatrix in file("sbt-conscript")) "2.0.0-RC8" } }, + scriptedSbt := { + scalaBinaryVersion.value match { + case "2.12" => + "1.9.9" + case _ => + (pluginCrossBuild / sbtVersion).value + } + }, buildInfo(packageName = "sbtconscript", v = Dependencies.launcherInterface.revision), name := "sbt-conscript", scriptedBufferLog := false,