Skip to content

Commit

Permalink
Merge pull request #365 from pvlugter/sbt-versions
Browse files Browse the repository at this point in the history
Support all sbt 1.x with sbt-paradox plugin
  • Loading branch information
jroper authored Sep 12, 2019
2 parents 2411a94 + ed55d52 commit bf1b17d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ lazy val plugin = project
name := "sbt-paradox",
sbtPlugin := true,
addSbtPlugin(Library.sbtWeb),
pluginCrossBuild / sbtVersion := "1.0.0", // support all sbt 1.x
scriptedSbt := sbtVersion.value, // run scripted tests against build sbt by default
scriptedLaunchOpts += ("-Dproject.version=" + version.value),
scriptedLaunchOpts ++= ManagementFactory.getRuntimeMXBean.getInputArguments.asScala.filter(
a => Seq("-Xmx", "-Xms", "-XX", "-Dfile").exists(a.startsWith)
Expand Down

0 comments on commit bf1b17d

Please sign in to comment.