Last active
December 12, 2015 06:58
-
-
Save jamesthompson/4732561 to your computer and use it in GitHub Desktop.
JavaFX Gradle Build File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
group = 'com.malmstadt' | |
version = 1.0 | |
apply plugin: 'scala' | |
apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/release/javafx.plugin' | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
scalaTools 'org.scala-lang:scala-compiler:2.10.0' | |
compile 'org.scala-lang:scala-library:2.10.0' | |
} | |
// Comment this out for regular Ant builds. This is presently set for Zinc incremental fast builds. | |
tasks.withType(ScalaCompile) { | |
scalaCompileOptions.useAnt = false | |
} | |
sourceSets.main.scala.srcDir "src/main/java" | |
sourceSets.main.java.srcDirs = [] | |
javafx { | |
mainClass = 'com.malmstadt.Launch' | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment