Skip to content

Instantly share code, notes, and snippets.

@shemnon
Created January 16, 2013 18:14
Show Gist options
  • Save shemnon/4549339 to your computer and use it in GitHub Desktop.
Save shemnon/4549339 to your computer and use it in GitHub Desktop.
BinTray configuration in Gradle
/* SNIP */
uploadArchives {
repositories {
mavenDeployer {
repository(
url:"https://api.bintray.com/maven/shemnon/javafx-gradle/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
}
}
}
}
}
/* SNIP */
cloudbeesUserName = javafx_gradle_plugin
cloudebeesPassword = ******
bintrayUserName = shemnon
bintrayApiKey = 0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment