Last active
April 23, 2016 18:16
-
-
Save solvingj/af6906938d82f74952bd5307fed9ddf6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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