Skip to content

Instantly share code, notes, and snippets.

@rladstaetter
Created January 17, 2016 13:50
simple gradle build file for javafx apps
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.0.8-SNAPSHOT'
}
}
apply plugin: 'scala' // compile scala sources as well
apply plugin: 'org.javafxports.jfxmobile'
mainClassName = 'net.ladstatt.fx.ttt.TicTacToeApp'
dependencies {
compile 'org.scala-lang:scala-library:2.11.7'
testCompile "junit:junit:4.12"
}
repositories {
jcenter()
}
jfxmobile {
ios {
forceLinkClasses = ['net.ladstatt.**.*']
}
android {
applicationPackage = 'net.ladstatt.fx.ttt'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment