buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.3.17'
}
}
apply plugin: 'org.javafxports.jfxmobile'
repositories {
jcenter()
maven {
url 'https://nexus.gluonhq.com/nexus/content/repositories/releases'
}
}
ext.charm_version = '5.0.2'
mainClassName = 'com.gluonhq.demos.tictactoe.TicTacToe'
dependencies {
compile "com.gluonhq:charm:$charm_version"
}
jfxmobile {
downConfig {
version '3.8.6'
plugins 'accelerometer', 'audio-recording', 'barcode-scan', 'battery', 'ble', 'browser', 'cache', 'compass', 'connectivity', 'device', 'dialer', 'display', 'in-app-billing', 'lifecycle', 'local-notifications', 'magnetometer', 'orientation', 'pictures', 'position', 'push-notifications', 'runtime-args', 'settings', 'share', 'statusbar', 'storage', 'vibration', 'video'
}
android {
compileSdkVersion = '29'
buildToolsVersion = '29.0.3'
manifest = 'src/android/AndroidManifest.xml'
androidSdk = '/Users/henry/Library/Android/sdk'
}
ios {
infoPList = file('src/ios/Default-Info.plist')
forceLinkClasses = [
'com.gluonhq.**.*',
'io.datafx.**.*',
'javax.annotations.**.*',
'javax.inject.**.*',
'javax.json.**.*',
'org.glassfish.json.**.*'
]
iosSignIdentity = "Ngoc Tran"
iosProvisioningProfile = '4b9bf29b-2ecc-4dcd-ad0d-eb617c9c7a32'
}
}