Skip to content

Commit 588cd5c

Browse files
committed
Fix check Gradle task graph contains task
1 parent 1530c75 commit 588cd5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tooling/hibernate-gradle-plugin/hibernate-gradle-plugin.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ tasks.publishPlugins.enabled !project.ormVersion.isSnapshot
134134

135135
gradle.taskGraph.whenReady { tg ->
136136
// verify credentials for publishing the plugin up front to avoid any work (only if we are publishing)
137-
if ( tg.hasTask( ":publishPlugins" ) && project.tasks.publishPlugins.enabled ) {
137+
if ( tg.hasTask( tasks.publishPlugins ) && project.tasks.publishPlugins.enabled ) {
138138
// we are publishing the plugin - make sure there is a credentials pair
139139
//
140140
// first, check the `GRADLE_PUBLISH_KEY` / `GRADLE_PUBLISH_SECRET` combo (env vars)

0 commit comments

Comments
 (0)