File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -4,5 +4,5 @@ addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.12.0")
4
4
5
5
name := " javafxmobile-sbt"
6
6
organization := " SANDEC"
7
- version := " 0.1-SNAPSHOT "
7
+ version := " 0.1.1 "
8
8
Original file line number Diff line number Diff line change @@ -11,12 +11,13 @@ object JavaFXMobilePlugin extends AutoPlugin{
11
11
object autoImport {
12
12
lazy val createGradleProject = taskKey[File ] (" Produces a gradle project, which uses the JavaFX-Mobile plugin. The result is the folder of the project." )
13
13
lazy val javafx = inputKey[Unit ] (" Calls the gradle project with the given arguments." )
14
- lazy val appName = inputKey[ Unit ] (" The name of the generated application." )
14
+ lazy val appName = taskKey[ String ] (" The name of the generated application." )
15
15
lazy val gradleBuildContent = taskKey[String ](" The content of the build.gradle file." )
16
16
lazy val javafx_mobile_version = taskKey[String ](" Version of the javafx-mobile-plugin" )
17
17
lazy val ios_forceLinkClasses = taskKey[String ](" forceLinkClasses in the gradle project" )
18
18
lazy val iosSignIdentity = taskKey[Option [String ]](" The SignIdentity used to build the iOS-App" )
19
19
lazy val iosProvisioningProfile = taskKey[Option [String ]](" The ProvisioningProfile used to build the iOS-App" )
20
+
20
21
}
21
22
import autoImport ._
22
23
@@ -38,7 +39,7 @@ object JavaFXMobilePlugin extends AutoPlugin{
38
39
IO .write(buildFile, gradleBuildContent.value, utf8)
39
40
40
41
val settingsFile = new File (folder, " settings.gradle" )
41
- IO .write(settingsFile, s " rootProject.name = ' $appName' " , utf8)
42
+ IO .write(settingsFile, s " rootProject.name = ' ${ appName.value} ' " , utf8)
42
43
43
44
assembly.value
44
45
folder
You can’t perform that action at this time.
0 commit comments