plugin publishing tokens
This commit is contained in:
parent
8ab124d5f3
commit
ac8a212393
|
@ -107,6 +107,7 @@ afterEvaluate {
|
|||
}
|
||||
|
||||
gradle.taskGraph.whenReady { tg ->
|
||||
if ( tg.hasTask( project.tasks.publishPlugins ) ) {
|
||||
// look for sys-prop or env-var overrides of the tokens used for publishing
|
||||
if ( System.properties.containsKey( 'gradle.publish.key' )
|
||||
|| System.properties.containsKey( 'gradle.publish.secret' )
|
||||
|
@ -126,3 +127,4 @@ gradle.taskGraph.whenReady { tg ->
|
|||
System.setProperty( 'gradle.publish.secret', credentials.hibernatePluginPortalPassword )
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue