forked from auth0/Lock.Android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bintray.gradle
32 lines (32 loc) · 1.15 KB
/
bintray.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
if (hasProperty('bintray.user') && hasProperty('bintray.key') && hasProperty('bintray.gpg.password')) {
def bintrayUser = getProperty('bintray.user')
def bintrayApiKey = getProperty('bintray.key')
def bintrayPassphrase = getProperty('bintray.gpg.password')
apply plugin: 'com.jfrog.bintray'
bintray {
user = bintrayUser
key = bintrayApiKey
configurations = ['archives']
dryRun = project.version.endsWith("-SNAPSHOT")
publish = false
pkg {
repo = 'lock-android'
name = project.name
desc = 'The easiest way of securing your Android mobile apps with Auth0 & Lock'
websiteUrl = 'https://github.com/auth0/Lock.Android'
vcsUrl = 'scm:[email protected]:auth0/Lock.Android.git'
licenses = ["MIT"]
userOrg = 'auth0'
publish = false
version {
gpg {
sign = true
passphrase = bintrayPassphrase
}
vcsTag = project.version
name = project.version
released = new Date()
}
}
}
}