diff --git a/buildSrc/src/main/groovy/io/spring/gradle/convention/RootProjectPlugin.groovy b/buildSrc/src/main/groovy/io/spring/gradle/convention/RootProjectPlugin.groovy index 99335cdda8..1d497cab70 100644 --- a/buildSrc/src/main/groovy/io/spring/gradle/convention/RootProjectPlugin.groovy +++ b/buildSrc/src/main/groovy/io/spring/gradle/convention/RootProjectPlugin.groovy @@ -52,7 +52,7 @@ class RootProjectPlugin implements Plugin { def finalizeDeployArtifacts = project.task("finalizeDeployArtifacts") if (Utils.isRelease(project) && project.hasProperty("ossrhUsername")) { - finalizeDeployArtifacts.dependsOn project.tasks.closeAndReleaseOssrhtagingRepository + finalizeDeployArtifacts.dependsOn project.tasks.closeAndReleaseOssrhStagingRepository } }