Advertisement
Barteks2x

Untitled

Oct 20th, 2016
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. // Declares binary plugin and its required JavaFX classpath
  2. apply from: "http://dl.bintray.com/content/shemnon/javafx-gradle/8.1.1/javafx.plugin"
  3.  
  4. // Configures plugin
  5. javafx {
  6. // Points to JDK and its JavaFX libraries, also declares target runtime JDK
  7. // My comment: You need to change this, I'm not sure if it's needed
  8. javaRuntime = '/Library/Java/JavaVirtualMachines/jdk1.7.0_40.jdk'
  9.  
  10. // Application name and ID presented by target OS
  11. appID 'HelloWorldApp'
  12. appName 'Hello World Application'
  13.  
  14. // Main class of application
  15. mainClass 'helloworld.HelloWorld'
  16.  
  17. // JVM arguments, system properties, application command line arguments
  18. jvmArgs = ['-XX:+AggressiveOpts', '-XX:CompileThreshold=1']
  19. systemProperties = ['prism.disableRegionCaching':'true']
  20. arguments = ['-l', '--fast']
  21. // ...
  22. }
  23.  
  24. String getProjectProperty(String propertyName) {
  25. project.hasProperty(propertyName) ? project.property(propertyName) : null
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement