-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade sbt to 1.0.1
- Loading branch information
Showing
18 changed files
with
62 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ sbtPlugin := true | |
name := "sbt-native-packager" | ||
organization := "com.typesafe.sbt" | ||
|
||
scalaVersion in Global := "2.10.6" | ||
scalaVersion in Global := "2.12.3" | ||
|
||
// crossBuildingSettings | ||
crossSbtVersions := Vector("0.13.16", "1.0.0") | ||
|
@@ -35,7 +35,7 @@ libraryDependencies ++= { | |
Seq( | ||
// these dependencies have to be explicitly added by the user | ||
"com.spotify" % "docker-client" % "3.5.13" % Provided, | ||
"org.vafer" % "jdeb" % "1.3" % Provided artifacts Artifact("jdeb", "jar", "jar") | ||
"org.vafer" % "jdeb" % "1.3" % Provided artifacts Artifact("jdeb", "jar", "jar") | ||
) | ||
} | ||
} | ||
|
@@ -54,13 +54,11 @@ libraryDependencies ++= { | |
} | ||
|
||
// configure github page | ||
enablePlugins(SphinxPlugin, SiteScaladocPlugin) | ||
enablePlugins(SphinxPlugin, SiteScaladocPlugin, GhpagesPlugin) | ||
|
||
ghpages.settings | ||
git.remoteRepo := "[email protected]:sbt/sbt-native-packager.git" | ||
|
||
// scripted test settings | ||
scriptedSettings | ||
scriptedLaunchOpts += "-Dproject.version=" + version.value | ||
|
||
// Release configuration | ||
|
@@ -80,7 +78,7 @@ releaseProcess := Seq[ReleaseStep]( | |
setNextVersion, | ||
commitNextVersion, | ||
pushChanges, | ||
releaseStepTask(GhPagesKeys.pushSite) | ||
releaseStepTask(ghpagesPushSite) | ||
) | ||
|
||
// bintray config | ||
|
@@ -112,4 +110,4 @@ addCommandAlias( | |
) | ||
|
||
// TODO check the cygwin scripted tests and run them on appveyor | ||
addCommandAlias("validateWindows", "; test-only * -- -n windows;scripted universal/dist universal/stage windows/*") | ||
addCommandAlias("validateWindows", "; testOnly * -- -n windows ; scripted universal/dist universal/stage windows/*") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.16 | ||
sbt.version=1.0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.5.4") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.0.0") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.2") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.3.0") | ||
addSbtPlugin("com.github.gseitz" % "sbt-release" % "1.0.6") | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0") | ||
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.0-M1") | ||
|
||
libraryDependencies += "org.scala-sbt" % "scripted-plugin" % sbtVersion.value | ||
libraryDependencies += "org.scala-sbt" %% "scripted-plugin" % sbtVersion.value | ||
|
||
// Scripted plugin needs to declare this as a dependency | ||
libraryDependencies += "jline" % "jline" % "2.11" | ||
|
||
// For our bintray publishing | ||
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0") | ||
addSbtPlugin("org.foundweekends" % "sbt-bintray" % "0.5.1") | ||
|
||
// For code formatting | ||
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.10") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.16 | ||
sbt.version=1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
lazy val root = Project("plugins", file(".")).dependsOn(plugin) | ||
|
||
lazy val plugin = file("../").getCanonicalFile.toURI | ||
lazy val packager = ProjectRef(file("../.."), "sbt-native-packager") | ||
dependsOn(packager) | ||
|
||
// needs to be added for the docker spotify client | ||
libraryDependencies += "com.spotify" % "docker-client" % "3.5.13" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Workaround to fix 'undefined setting error' : | ||
// [error] Runtime reference to undefined setting: | ||
// [error] test-project-simple-build/sbt:scalafmtOnCompile from */*:onLoad ((com.lucidchart.sbt.scalafmt.ScalafmtSbtPlugin.globalSettings) ScalafmtSbtPlugin.scala:16) | ||
|
||
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.10") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.6 | ||
sbt.version=1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
lazy val root = Project("plugins", file(".")) dependsOn (packager) | ||
|
||
lazy val packager = file("..").getAbsoluteFile.toURI | ||
lazy val packager = ProjectRef(file("../.."), "sbt-native-packager") | ||
dependsOn(packager) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Workaround to fix 'undefined setting error' : | ||
// [error] Runtime reference to undefined setting: | ||
// [error] test-project-simple-build/sbt:scalafmtOnCompile from */*:onLoad ((com.lucidchart.sbt.scalafmt.ScalafmtSbtPlugin.globalSettings) ScalafmtSbtPlugin.scala:16) | ||
|
||
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.10") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.13 | ||
sbt.version=1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
lazy val root = Project("plugins", file(".")) dependsOn (packager) | ||
|
||
lazy val packager = file("..").getAbsoluteFile.toURI | ||
lazy val packager = ProjectRef(file("../.."), "sbt-native-packager") | ||
dependsOn(packager) | ||
|
||
libraryDependencies += "org.vafer" % "jdeb" % "1.3" artifacts (Artifact("jdeb", "jar", "jar")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Workaround to fix 'undefined setting error' : | ||
// [error] Runtime reference to undefined setting: | ||
// [error] test-project-simple-build/sbt:scalafmtOnCompile from */*:onLoad ((com.lucidchart.sbt.scalafmt.ScalafmtSbtPlugin.globalSettings) ScalafmtSbtPlugin.scala:16) | ||
|
||
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.10") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,26 +4,19 @@ libraryDependencies ++= Seq("com.typesafe" % "config" % "1.2.1") | |
|
||
mainClass in Compile := Some("ExampleApp") | ||
|
||
enablePlugins(JavaServerAppPackaging, WindowsPlugin, SystemdPlugin, UniversalPlugin) | ||
enablePlugins(JavaAppPackaging) | ||
|
||
// import com.typesafe.sbt.packager.Keys._ | ||
// import com.typesafe.sbt.packager.windows.WindowsPlugin | ||
|
||
maintainer := "some-company <[email protected]>" | ||
|
||
packageSummary := "some application" | ||
packageDescription := """ Some useful description here """ | ||
version := "0.0.0.0" | ||
|
||
wixProductId := "ce07be71-510d-414a-92d4-dff47631848b" | ||
|
||
wixProductUpgradeId := "4552fb0e-e257-4dbd-9ecb-dba9dbacf425" | ||
|
||
lightOptions := Seq("-ext", "WixUiExtension") | ||
|
||
wixMajorVersion := 3 | ||
lightOptions := Seq("-ext", "WixUiExtension") | ||
|
||
version := "0.0.0.0" | ||
|
||
packageDescription := """ Some useful description here """ | ||
|
||
// these settings are conflicting | ||
javaOptions in Universal ++= Seq("-J-Xmx64m", "-J-Xms64m", "-jvm-debug 12345") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=0.13.7 | ||
sbt.version=1.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
lazy val root = Project("plugins", file(".")) dependsOn (packager) | ||
|
||
lazy val packager = file("..").getAbsoluteFile.toURI | ||
|
||
libraryDependencies += "org.vafer" % "jdeb" % "1.3" artifacts (Artifact("jdeb", "jar", "jar")) | ||
lazy val packager = ProjectRef(file("../.."), "sbt-native-packager") | ||
dependsOn(packager) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Workaround to fix 'undefined setting error' : | ||
// [error] Runtime reference to undefined setting: | ||
// [error] test-project-simple-build/sbt:scalafmtOnCompile from */*:onLoad ((com.lucidchart.sbt.scalafmt.ScalafmtSbtPlugin.globalSettings) ScalafmtSbtPlugin.scala:16) | ||
|
||
addSbtPlugin("com.lucidchart" % "sbt-scalafmt" % "1.10") |