Commits

shemnon committed 009e6d4

0.2.0 spin: move samples to production values

  • Participants
  • Parent commits 6426508
  • Tags release_0.2.0

Comments (0)

Files changed (7)

File samples/ConferenceScheduleApp/build.gradle

-apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
+apply from: 'http://dl.bintray.com/content/shemnon/javafx-gradle/javafx.plugin'
 
 if (!System.getProperty("java.version").matches(/^(1\.)?8.*/)) { //FIXME not the best way, but cloudbees is on an old version of gradle
     throw new GradleException("Java 8 required, ${System.getProperty("java.version")} found")

File samples/Ensemble2/build.gradle

-apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
+apply from: 'http://dl.bintray.com/content/shemnon/javafx-gradle/javafx.plugin'
 
 repositories {
     mavenLocal()

File samples/FXML-LoginDemo/build.gradle

-apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
+apply from: 'http://dl.bintray.com/content/shemnon/javafx-gradle/javafx.plugin'
 
 javafx {
     mainClass = 'demo.Main'

File samples/FullyExpressed/build.gradle

-apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
+apply from: 'http://dl.bintray.com/content/shemnon/javafx-gradle/javafx.plugin'
 apply plugin: 'idea'
 apply plugin: 'maven'
 

File samples/Modena/build.gradle

-apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
+apply from: 'http://dl.bintray.com/content/shemnon/javafx-gradle/javafx.plugin'
 
-if (!System.getProperty("java.version").matches(/^(1\.)?8.*/)) { //FIXME not the best way, but cloudbees is on an old version of gradle
+if (!JavaVersion.current().isJava8Compatible()) {
     throw new GradleException("Java 8 required, ${System.getProperty("java.version")} found")
 }
 
 javafx {
     mainClass = 'modena.Modena'
+    systemProperties = [ 'prism.disableRegionCaching':'true' ]
 }

File samples/SwingInterop/build.gradle

-apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
+apply from: 'http://dl.bintray.com/content/shemnon/javafx-gradle/javafx.plugin'
 
 javafx {
     mainClass = 'swinginterop.SwingInterop'

File samples/brickbreaker/build.gradle

-apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
+apply from: 'http://dl.bintray.com/content/shemnon/javafx-gradle/javafx.plugin'