Skip to content

Instantly share code, notes, and snippets.

Created January 18, 2018 10:45
Show Gist options
  • Save anonymous/283175507707ecf7f97a4350fb507732 to your computer and use it in GitHub Desktop.
Save anonymous/283175507707ecf7f97a4350fb507732 to your computer and use it in GitHub Desktop.
buildscript {
repositories {
jcenter()
maven { url 'https://oss.sonatype.org/content/repositories/snapshots' }
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.3.10'
}
}
plugins {
id "com.github.hierynomus.license" version "0.14.0"
}
apply plugin: 'org.javafxports.jfxmobile'
repositories {
jcenter()
maven {
url 'http://nexus.gluonhq.com/nexus/content/repositories/releases'
}
}
mainClassName = 'com.gluonhq.notesapp.NotesApp'
dependencies {
compile 'com.gluonhq:glisten-afterburner:1.2.0'
compile 'com.gluonhq:charm-cloudlink-client:4.3.3'
}
jfxmobile {
downConfig {
version = '3.2.4'
plugins 'display', 'lifecycle', 'statusbar', 'storage'
}
android {
compileSdkVersion = '27'
buildToolsVersion = '27.0.3'
manifest = 'src/android/AndroidManifest.xml'
}
ios {
infoPList = file('src/ios/Default-Info.plist')
iosProvisioningProfile = '*id stays here, but is removed for security reasons*'
forceLinkClasses = [
'com.gluonhq.notesapp.**.*',
'com.gluonhq.**.*',
'javax.annotations.**.*',
'javax.inject.**.*',
'javax.json.**.*',
'org.glassfish.json.**.*',
'com.sun.javafx.**.*'
]
}
}
license {
skipExistingHeaders
mapping {
fxml = 'XML_STYLE'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment