mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-16 16:15:06 +00:00
plugin publishing tokens
This commit is contained in:
parent
ac8a212393
commit
4c5b1cb2a8
@ -107,7 +107,7 @@ afterEvaluate {
|
|||||||
}
|
}
|
||||||
|
|
||||||
gradle.taskGraph.whenReady { tg ->
|
gradle.taskGraph.whenReady { tg ->
|
||||||
if ( tg.hasTask( project.tasks.publishPlugins ) ) {
|
if ( tg.hasTask( project.tasks.publishPlugins ) && project.tasks.publishPlugins.enabled ) {
|
||||||
// look for sys-prop or env-var overrides of the tokens used for publishing
|
// look for sys-prop or env-var overrides of the tokens used for publishing
|
||||||
if ( System.properties.containsKey( 'gradle.publish.key' )
|
if ( System.properties.containsKey( 'gradle.publish.key' )
|
||||||
|| System.properties.containsKey( 'gradle.publish.secret' )
|
|| System.properties.containsKey( 'gradle.publish.secret' )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user