Skip to content

Commit

Permalink
Bump pluginCrossBuild to sbt 1.3.0, it's on Maven Central (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz authored Feb 12, 2024
1 parent c9ddfc1 commit ce96323
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ val dynverLib = LocalProject("dynver")
val dynver = project.settings(
libraryDependencies += "org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.3.202401111512-r" % Test,
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.17.0" % Test,
resolvers += Resolver.sbtPluginRepo("releases"), // for prev artifacts, not repo1 b/c of mergly publishing
publishSettings,
crossScalaVersions ++= Seq(scala2_13, scala3),
scalacOptions := {
Expand All @@ -64,7 +63,7 @@ val sbtdynver = project.dependsOn(dynverLib).enablePlugins(SbtPlugin).settings(
scriptedLaunchOpts += s"-Dsbt.boot.directory=${file(sys.props("user.home")) / ".sbt" / "boot"}",
(pluginCrossBuild / sbtVersion) := {
scalaBinaryVersion.value match {
case "2.12" => "1.1.0"
case "2.12" => "1.3.0"
}
},
publishSettings,
Expand Down

0 comments on commit ce96323

Please sign in to comment.