Skip to content

Commit ac10017

Browse files
committed
Remove obsolete sbt-native-packager setup #26
1 parent 15621e9 commit ac10017

File tree

2 files changed

+0
-33
lines changed

2 files changed

+0
-33
lines changed

build.sbt

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -78,30 +78,3 @@ resourceGenerators in Compile += Def.task {
7878
}.taskValue
7979

8080
mainClass in Compile := Some("scalafx.ensemble.Ensemble")
81-
mainClass in assembly := Some("scalafx.ensemble.Ensemble")
82-
83-
//
84-
// Configuration for sbt-native-packager / JDKPackagerPlugin
85-
//
86-
87-
enablePlugins(JDKPackagerPlugin)
88-
89-
maintainer := "ScalaFX Organization (scalafx.org)"
90-
packageSummary := "Collection of live ScalaFX examples"
91-
packageDescription := "An application demonstrating ScalaFX code samples."
92-
93-
lazy val iconGlob = sys.props("os.name").toLowerCase match {
94-
case os if os.contains("mac") => "*.icns"
95-
case os if os.contains("win") => "*.ico"
96-
case _ => "*.png"
97-
}
98-
99-
jdkAppIcon := (sourceDirectory.value ** iconGlob).getPaths.headOption.map(file)
100-
jdkPackagerType := "installer"
101-
102-
// this is to help ubuntu 15.10
103-
antPackagerTasks in JDKPackager := (antPackagerTasks in JDKPackager).value orElse {
104-
for {
105-
f <- Some(file("/usr/lib/jvm/java-8-oracle/lib/ant-javafx.jar")) if f.exists()
106-
} yield f
107-
}

project/plugins.sbt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
scalacOptions ++= Seq("-unchecked", "-deprecation")
22

3-
// assembly plugin to package and run the app
4-
// [https://github.com/sbt/sbt-assembly]
5-
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.10")
6-
7-
// Plugin to create native installers
8-
addSbtPlugin("com.typesafe.sbt" %% "sbt-native-packager" % "1.4.1")
93

0 commit comments

Comments
 (0)