File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ We adhere to the [keepachangelog](https://keepachangelog.com/en/1.0.0/) format (
1111
1212## [ Unreleased]
1313* Support for` clang-format ` on maven-plugin ([ #2406 ] ( https://github.com/diffplug/spotless/pull/2406 ) )
14+ * Adopt new version of ` maven-plugin-development ` from GradleX ([ #2395 ] ( https://github.com/diffplug/spotless/pull/2395 ) )
1415
1516## [ 3.0.2] - 2025-01-14
1617### Fixed
Original file line number Diff line number Diff line change @@ -193,12 +193,13 @@ if (System.env['JITPACK'] == 'true' || version.endsWith('-SNAPSHOT')) {
193193 dependsOn changelogTasks. named(' changelogCheck' )
194194 }
195195 // ensures that changelog bump and push only happens if the publish was successful
196+ def thisProj = project
196197 changelogTasks. named(' changelogBump' ). configure {
197- dependsOn project . path + " :publishPluginMavenPublicationToSonatypeRepository"
198+ dependsOn " : ${ thisProj .path} :publishPluginMavenPublicationToSonatypeRepository"
198199 dependsOn " :closeAndReleaseSonatypeStagingRepository"
199200 // if we have a Gradle plugin, we need to push it up to the plugin portal too
200- if (project . tasks. names. contains(' publishPlugins' )) {
201- dependsOn project . tasks. named(' publishPlugins' )
201+ if (thisProj . tasks. names. contains(' publishPlugins' )) {
202+ dependsOn thisProj . tasks. named(' publishPlugins' )
202203 }
203204 }
204205}
You can’t perform that action at this time.
0 commit comments