forked from grails/grails-spring-security-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bintrayPublishing.gradle
32 lines (32 loc) · 1.27 KB
/
bintrayPublishing.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 = 'plugins'
userOrg = 'grails'
name = "org.grails.plugins:$project.name"
desc = "Grails $project.name plugin"
websiteUrl = "http://grails.org/plugin/$project.name"
issueTrackerUrl = 'https://github.com/grails-plugins/grails-spring-security-core/issues'
vcsUrl = 'https://github.com/grails-plugins/grails-spring-security-core'
licenses = ['Apache-2.0']
publicDownloadNumbers = true
version {
attributes = ['grails-plugin': "org.grails.plugins:$project.name"]
name = project.version
gpg {
sign = false
passphrase = System.getenv('SIGNING_PASSPHRASE') ?: project.hasProperty('signingPassphrase') ? project.signingPassphrase : ''
}
mavenCentralSync {
sync = false
def ossUser = System.getenv('SONATYPE_USERNAME') ?: project.hasProperty('sonatypeOssUsername') ? project.sonatypeOssUsername : ''
def ossPass = System.getenv('SONATYPE_PASSWORD') ?: project.hasProperty('sonatypeOssPassword') ? project.sonatypeOssPassword : ''
user = ossUser
password = ossPass
}
}
}
}