We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2259114 commit ddd0a3fCopy full SHA for ddd0a3f
sbt-plugin/build.sbt
@@ -21,13 +21,22 @@ inThisBuild(
21
)
22
23
24
+val scala2 = "2.12.20"
25
+val scala3 = "3.6.3"
26
+
27
val `sbt-github-dependency-submission` = project
28
.in(file("."))
29
.enablePlugins(SbtPlugin, ContrabandPlugin, JsonCodecPlugin, BuildInfoPlugin)
30
.settings(
31
name := "sbt-github-dependency-submission",
- sbtVersion := "1.5.8",
- scalaVersion := "2.12.20",
32
+ pluginCrossBuild / sbtVersion := {
33
+ scalaBinaryVersion.value match {
34
+ case "2.12" => "1.5.8"
35
+ case _ => "2.0.0-M3"
36
+ }
37
+ },
38
+ scalaVersion := scala2,
39
+ crossScalaVersions := Seq(scala2, scala3),
40
scalacOptions ++= Seq(
41
"-deprecation",
42
"-encoding",
0 commit comments