Skip to content

Commit 1bb3ece

Browse files
started 0.1.3-SNAPSHOT
- added path for Manifest - added path for the "res-folder"
1 parent 66685d0 commit 1bb3ece

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

build.sbt

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

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

99
scalacOptions ++= Seq("-unchecked", "-deprecation", "-feature", "-language:_")
1010

src/main/scala/plugin/JavaFXMobilePlugin.scala

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import sbtassembly.AssemblyPlugin
66
import sbtassembly.AssemblyPlugin.autoImport._
77
import sbt.complete.Parsers._
88

9-
object JavaFXMobilePlugin extends AutoPlugin{
9+
object JavaFXMobilePlugin extends AutoPlugin {
1010

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.")
@@ -15,6 +15,7 @@ object JavaFXMobilePlugin extends AutoPlugin{
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 androidApplicationPackage = taskKey[String]("The application package of the android application.")
18+
lazy val androidManifest = taskKey[String]("The Android-Manifest file.")
1819
lazy val ios_forceLinkClasses = taskKey[String]("forceLinkClasses in the gradle project")
1920
lazy val iosSignIdentity = taskKey[Option[String]]("The SignIdentity used to build the iOS-App")
2021
lazy val iosProvisioningProfile = taskKey[Option[String]]("The ProvisioningProfile used to build the iOS-App")
@@ -27,7 +28,7 @@ object JavaFXMobilePlugin extends AutoPlugin{
2728
val utf8 = java.nio.charset.Charset.forName("UTF-8")
2829

2930
override def projectSettings = List(
30-
javafx_mobile_version := "org.javafxports:jfxmobile-plugin:1.0.0-b9",
31+
javafx_mobile_version := "org.javafxports:jfxmobile-plugin:1.0.0-b10",
3132
ios_forceLinkClasses := "['ensemble.**.*']",
3233
iosSignIdentity := None,
3334
iosProvisioningProfile := None,
@@ -101,6 +102,8 @@ jfxmobile {
101102
}
102103
android {
103104
applicationPackage = '${androidApplicationPackage.value}'
105+
resDirectory = '../../src/main/res'
106+
manifest = '../../src/main/AndroidManifest.xml'
104107
}
105108
}
106109
"""

0 commit comments

Comments
 (0)