-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathshipkit.gradle
41 lines (35 loc) · 1.33 KB
/
shipkit.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
33
34
35
36
37
38
39
40
41
shipkit {
gitHub.repository = "linkedin/play-parseq"
gitHub.readOnlyAuthToken = System.getenv("GH_READ_TOKEN") //for reading the issues in GitHub
gitHub.writeAuthToken = System.getenv("GH_WRITE_TOKEN")
}
ext.releaseSpec = fileTree("dist")
plugins.withId("org.shipkit.bintray") {
//Bintray configuration is handled by JFrog Bintray Gradle Plugin
//For reference see the official documentation: https://github.com/bintray/gradle-bintray-plugin
bintray {
//In order to use a different user+key for publications:
// 1. Get permissions to write to Bintray LinkedIn organization, use Bintray web UI to generate your key
// 2. Update the 'user' setting below and export 'BINTRAY_API_KEY' env variable with your key
pkg.user = 'franklinyinanding'
key = System.getenv("BINTRAY_API_KEY") //this env variable is configured on our CI
filesSpec {
from releaseSpec
into '.'
}
pkg {
repo = 'maven'
userOrg = 'linkedin'
name = 'play-parseq'
licenses = ['Apache-2.0']
labels = ['play', 'parseq']
version {
mavenCentralSync {
sync = true
user = System.env.OSSRH_USER
password = System.env.OSSRH_PWD
}
}
}
}
}