Skip to content

Commit ffcc2e0

Browse files
released version 0.1.1
1 parent 297eada commit ffcc2e0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.12.0")
44

55
name := "javafxmobile-sbt"
66
organization := "SANDEC"
7-
version := "0.1-SNAPSHOT"
7+
version := "0.1.1"
88

src/main/scala/plugin/JavaFXMobilePlugin.scala

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ object JavaFXMobilePlugin extends AutoPlugin{
1111
object autoImport {
1212
lazy val createGradleProject = taskKey[File] ("Produces a gradle project, which uses the JavaFX-Mobile plugin. The result is the folder of the project.")
1313
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.")
1515
lazy val gradleBuildContent = taskKey[String]("The content of the build.gradle file.")
1616
lazy val javafx_mobile_version = taskKey[String]("Version of the javafx-mobile-plugin")
1717
lazy val ios_forceLinkClasses = taskKey[String]("forceLinkClasses in the gradle project")
1818
lazy val iosSignIdentity = taskKey[Option[String]]("The SignIdentity used to build the iOS-App")
1919
lazy val iosProvisioningProfile = taskKey[Option[String]]("The ProvisioningProfile used to build the iOS-App")
20+
2021
}
2122
import autoImport._
2223

@@ -38,7 +39,7 @@ object JavaFXMobilePlugin extends AutoPlugin{
3839
IO.write(buildFile, gradleBuildContent.value, utf8)
3940

4041
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)
4243

4344
assembly.value
4445
folder

0 commit comments

Comments
 (0)