Skip to content

Commit 4255448

Browse files
committed
fix crossSbtVersions setting
1 parent 4295c05 commit 4255448

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

build.sbt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ lazy val pushSiteIfChanged = taskKey[Unit]("push the site if changed")
88

99
val updateLaunchconfig = TaskKey[File]("updateLaunchconfig")
1010

11+
lazy val commonSettings = Seq(
12+
crossSbtVersions := Seq("0.13.15", "1.0.0-M6")
13+
)
14+
1115
lazy val root = (project in file(".")).
1216
enablePlugins(BuildInfoPlugin, CrossPerProjectPlugin, PamfletPlugin).
1317
settings(
18+
commonSettings,
1419
updateLaunchconfig := {
1520
val mainClassName = (discoveredMainClasses in Compile).value match {
1621
case Seq(m) => m
@@ -156,12 +161,12 @@ lazy val root = (project in file(".")).
156161
lazy val plugin = (project in file("sbt-conscript")).
157162
enablePlugins(CrossPerProjectPlugin).
158163
settings(
164+
commonSettings,
159165
name := "sbt-conscript",
160166
sbtPlugin := true,
161167
bintrayOrganization := Some("sbt"),
162168
bintrayRepository := "sbt-plugin-releases",
163169
bintrayPackage := "sbt-conscript",
164-
crossSbtVersions := Seq("0.13.15", "1.0.0-M6"),
165170
ScriptedPlugin.scriptedSettings,
166171
ScriptedPlugin.scriptedBufferLog := false,
167172
// https://github.com/sbt/sbt/issues/3245

0 commit comments

Comments
 (0)