Skip to content

Commit 977de9a

Browse files
committed
Use publishing credentials stored via credentials plugin
1 parent ecaa773 commit 977de9a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

build.gradle

+3-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ plugins {
55
id 'groovy'
66
id 'maven-publish'
77
id 'com.jfrog.bintray' version '1.8.5'
8+
id 'nu.studer.credentials' version '2.1'
89
id 'com.github.rodm.teamcity-server' version '1.2.2' // see https://github.com/rodm/gradle-teamcity-plugin
910
id 'com.github.rodm.teamcity-environments' version '1.2.2'
1011
}
@@ -87,8 +88,8 @@ publishing.publications {
8788
}
8889

8990
bintray {
90-
user = findProperty('bintrayUser')
91-
key = findProperty('bintrayKey')
91+
user = credentials.BINTRAY_USER
92+
key = credentials.BINTRAY_API_KEY
9293
publications = ['PluginPublication']
9394

9495
dryRun = true

0 commit comments

Comments
 (0)