Source

javafx-gradle / gradle-javafx-plugin / build.gradle

Full commit
shemnon 664e698 


shemnon 3887373 
shemnon a716803 
shemnon 664e698 

shemnon 291c307 
shemnon 664e698 



shemnon 22190dc 
shemnon 664e698 

shemnon bbe9d6e 
shemnon 664e698 

shemnon 291c307 

shemnon 52950ef 
shemnon 6426508 
shemnon 52950ef 

shemnon 0160b15 

shemnon 52950ef 

shemnon 0160b15 



shemnon 52950ef 



shemnon 0160b15 

shemnon 52950ef 

shemnon 0160b15 



shemnon 52950ef 
















shemnon bbe9d6e 






shemnon 52950ef 




shemnon 22190dc 




shemnon 291c307 



apply plugin: 'groovy'
apply plugin: 'maven'

group = 'org.bitbucket.shemnon.javafxplugin'
version = '0.3.0-SNAPSHOT'

repositories {
    mavenCentral()
}

dependencies {
    groovy 'org.codehaus.groovy:groovy-all:2.0.5'
    compile 'org.jclarion:image4j:0.7'
    compile gradleApi()
    compile files("${System.properties['java.home']}/../lib/ant-javafx.jar")
    compile fileTree(dir: "${System.properties['java.home']}", include: '**/jfxrt.jar')
}

uploadArchives {
    repositories {
        mavenDeployer {
            repository(url:"https://api.bintray.com/maven/shemnon/javafx-gradle/gradle-javafx-plugin/",
                id: 'bintray-shemnon-javafx-gradle-plugin'
            ) {
                try {
                    authentication(
                        userName: bintrayUserName,
                        password: bintrayApiKey
                    )
                } catch (MissingPropertyException pne) {
                    // ignore, don't authenticate
                }
            }
            snapshotRepository (url: "https://repository-javafx-gradle-plugin.forge.cloudbees.com/snapshot/",
                id: 'cloudbees-javafx-gradle-plugin'
            ) {
                try {
                    authentication(
                        userName: cloudbeesUserName,
                        password: cloudbeesPassword
                    )
                } catch (MissingPropertyException pne) {
                    // ignore, don't authenticate
                }
            }
        }
    }
}

[install.repositories.mavenInstaller, uploadArchives.repositories.mavenDeployer]*.pom*.whenConfigured {pom ->
    pom.project {
        dependencies {
            dependency {
                groupId 'net.java.openjdk'
                artifactId 'jfxrt'
                version '8b72'
                scope 'system'
                systemPath '${java.home}/lib/jfxrt.jar'
            }
            dependency {
                groupId 'net.java.openjdk'
                artifactId 'jfxrt'
                version '8b75'
                scope 'system'
                systemPath '${java.home}/lib/ext/jfxrt.jar'
            }
            dependency {
                groupId 'net.java.openjdk'
                artifactId 'ant-javafx'
                version '8b72'
                scope 'system'
                systemPath '${java.home}/../lib/ant-javafx.jar'
            }
            dependency {
                groupId 'org.jclarion'
                artifactId 'image4j'
                version '0.7'
            }
        }
    }
}