Skip to content

Commit d6154e3

Browse files
author
luc0001r
committed
added changelog info
1 parent 1fb5d33 commit d6154e3

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CHANGES.md

+1
Original file line numberDiff line numberDiff 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

gradle/java-publish.gradle

+4-3
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)