File tree 2 files changed +5
-3
lines changed
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 (
11
11
12
12
## [ Unreleased]
13
13
* 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 ) )
14
15
15
16
## [ 3.0.2] - 2025-01-14
16
17
### Fixed
Original file line number Diff line number Diff line change @@ -193,12 +193,13 @@ if (System.env['JITPACK'] == 'true' || version.endsWith('-SNAPSHOT')) {
193
193
dependsOn changelogTasks. named(' changelogCheck' )
194
194
}
195
195
// ensures that changelog bump and push only happens if the publish was successful
196
+ def thisProj = project
196
197
changelogTasks. named(' changelogBump' ). configure {
197
- dependsOn project . path + " :publishPluginMavenPublicationToSonatypeRepository"
198
+ dependsOn " : ${ thisProj .path} :publishPluginMavenPublicationToSonatypeRepository"
198
199
dependsOn " :closeAndReleaseSonatypeStagingRepository"
199
200
// 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' )
202
203
}
203
204
}
204
205
}
You can’t perform that action at this time.
0 commit comments