Skip to content

Commit e44a8c2

Browse files
committed
Fix check Gradle task graph contains task
1 parent 1df68f0 commit e44a8c2

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
@@ -171,7 +171,7 @@ gradle.taskGraph.whenReady { tg ->
171171
}
172172

173173
// verify credentials for publishing the plugin up front to avoid any work (only if we are publishing)
174-
if ( tg.hasTask( ":publishPlugins" ) && project.tasks.publishPlugins.enabled ) {
174+
if ( tg.hasTask( tasks.publishPlugins ) && project.tasks.publishPlugins.enabled ) {
175175
// we are publishing the plugin - make sure there is a credentials pair
176176
//
177177
// first, check the `GRADLE_PUBLISH_KEY` / `GRADLE_PUBLISH_SECRET` combo (env vars)

0 commit comments

Comments
 (0)