Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Declares binary plugin and its required JavaFX classpath
- apply from: "http://dl.bintray.com/content/shemnon/javafx-gradle/8.1.1/javafx.plugin"
- // Configures plugin
- javafx {
- // Points to JDK and its JavaFX libraries, also declares target runtime JDK
- // My comment: You need to change this, I'm not sure if it's needed
- javaRuntime = '/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk'
- // Application name and ID presented by target OS
- appID 'HelloWorldApp'
- appName 'Hello World Application'
- // Main class of application
- mainClass 'helloworld.HelloWorld'
- // JVM arguments, system properties, application command line arguments
- jvmArgs = ['-XX:+AggressiveOpts', '-XX:CompileThreshold=1']
- systemProperties = ['prism.disableRegionCaching':'true']
- arguments = ['-l', '--fast']
- // ...
- }
- String getProjectProperty(String propertyName) {
- project.hasProperty(propertyName) ? project.property(propertyName) : null
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement