File tree Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Expand file tree Collapse file tree 2 files changed +0
-33
lines changed Original file line number Diff line number Diff line change @@ -78,30 +78,3 @@ resourceGenerators in Compile += Def.task {
7878}.taskValue
7979
8080mainClass 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- }
Original file line number Diff line number Diff line change 11scalacOptions ++= 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
You can’t perform that action at this time.
0 commit comments