File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -186,14 +186,12 @@ if (!version.endsWith('-SNAPSHOT')) {
186
186
}
187
187
// ensures that changelog bump and push only happens if the publish was successful
188
188
def thisProj = project
189
- afterEvaluate {
190
- changelogTasks. named(' changelogBump' ). configure {
191
- dependsOn thisProj. tasks. named(' publishPluginMavenPublicationToSonatypeRepository' )
192
- dependsOn rootProject. tasks. named(' closeAndReleaseSonatypeStagingRepository' )
193
- // if we have a gradle plugin, we need to push it up to the plugin portal too
194
- if (thisProj. tasks. names. contains(' publishPlugins' )) {
195
- dependsOn thisProj. tasks. named(' publishPlugins' )
196
- }
189
+ changelogTasks. named(' changelogBump' ). configure {
190
+ dependsOn " :${ thisProj.path} :publishPluginMavenPublicationToSonatypeRepository"
191
+ dependsOn " :closeAndReleaseSonatypeStagingRepository"
192
+ // if we have a gradle plugin, we need to push it up to the plugin portal too
193
+ if (thisProj. tasks. names. contains(' publishPlugins' )) {
194
+ dependsOn thisProj. tasks. named(' publishPlugins' )
197
195
}
198
196
}
199
197
}
You can’t perform that action at this time.
0 commit comments