Permalink
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (30 sloc) 1.72 KB
bintray {
user = System.getenv("BINTRAY_USER") ?: project.hasProperty("bintrayUser") ? project.bintrayUser : ''
key = System.getenv("BINTRAY_KEY") ?: project.hasProperty("bintrayKey") ? project.bintrayKey : ''
publications = ['maven']
publish = true
pkg {
repo = project.hasProperty('repo') ? project.repo : 'plugins'
userOrg = project.hasProperty('userOrg') ? project.userOrg : 'grails'
name = "$project.name"
desc = project.hasProperty('desc') ? project.desc : "Grails $project.name plugin"
websiteUrl = project.hasProperty('websiteUrl') ? project.websiteUrl : "http://grails.org/plugin/$project.name"
issueTrackerUrl = project.hasProperty('issueTrackerUrl') ? project.issueTrackerUrl : "https://github.com/grails3-plugins/$project.name/issues"
vcsUrl = project.hasProperty('vcsUrl') ? project.vcsUrl : "https://github.com/grails3-plugins/$project.name"
licenses = project.hasProperty('license') ? [project.license] : ['Apache-2.0']
publicDownloadNumbers = true
version {
attributes = ['grails-plugin': "$project.group:$project.name"]
name = project.version
gpg {
sign = false
passphrase = System.getenv("SIGNING_PASSPHRASE") ?: project.hasProperty("signingPassphrase") ? project.signingPassphrase : ''
}
mavenCentralSync {
sync = false
user = System.getenv("SONATYPE_USERNAME") ?: project.hasProperty("sonatypeOssUsername") ? project.sonatypeOssUsername : ''
password = System.getenv("SONATYPE_PASSWORD") ?: project.hasProperty("sonatypeOssPassword") ? project.sonatypeOssPassword : ''
}
}
}
}