Skip to content

Instantly share code, notes, and snippets.

@shemnon
Created November 8, 2012 04:58
Show Gist options
  • Select an option

  • Save shemnon/4036870 to your computer and use it in GitHub Desktop.

Select an option

Save shemnon/4036870 to your computer and use it in GitHub Desktop.
Installing the JavaFX Gradle Plugin
apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/javafx.plugin'
apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/release/javafx.plugin'
apply from: 'https://repository-javafx-gradle-plugin.forge.cloudbees.com/release/javafx.plugin'
javafx {
mainClass = 'com.example.whatever.MainClass'
}
buildscript {
repositories {
mavenLocal()
ivy {
url = 'http://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot'
}
mavenCentral()
}
dependencies {
classpath 'com.bitbucket.shemnon.javafxplugin:plugin:0.0.1-SNAPSHOT'
}
}
apply plugin: 'javafx'
buildscript {
repositories {
mavenLocal()
ivy {
url = 'http://repository-javafx-gradle-plugin.forge.cloudbees.com/release'
}
mavenCentral()
}
dependencies {
classpath 'com.bitbucket.shemnon.javafxplugin:plugin:0.0.0'
}
}
apply plugin: 'javafx'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment