Skip to content

Instantly share code, notes, and snippets.

@solvingj
Last active April 23, 2016 18:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save solvingj/af6906938d82f74952bd5307fed9ddf6 to your computer and use it in GitHub Desktop.
Save solvingj/af6906938d82f74952bd5307fed9ddf6 to your computer and use it in GitHub Desktop.
subprojects {
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
// set bintrayUser & bintrayKey in HomeDir/gradle.properties and do not check in
// To upload to bintray, each user must create this file and add credentials (per pc)
bintray {
user = bintrayUser
key = bintrayKey
def projectName = project.name
def projectDescription = project.description
pkg {
if(['genius-installer','genius-loader'].contains(projectName)){
repo = 'genius-public'
name = 'genius-setup'
}else{
repo = 'genius'
name = 'genius-modules'
}
}
publications = ['groovyMaven', 'shadow']
dryRun = false // whether to run this as dry-run, without deploying
publish = true //If version should be auto published after an upload
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment