Skip to content

Commit 73e5a35

Browse files
committed
Update config prop changelog generator to cope with renamed modules
See gh-46925
1 parent b42a060 commit 73e5a35

File tree

1 file changed

+16
-4
lines changed
  • configuration-metadata/spring-boot-configuration-metadata-changelog-generator

1 file changed

+16
-4
lines changed

configuration-metadata/spring-boot-configuration-metadata-changelog-generator/build.gradle

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ architectureCheck {
4444

4545
def dependenciesOf(String version) {
4646
if (version.startsWith("4.")) {
47-
return [
47+
def modules = [
4848
"spring-boot",
4949
"spring-boot-activemq",
5050
"spring-boot-actuator",
@@ -95,9 +95,6 @@ def dependenciesOf(String version) {
9595
"spring-boot-ldap",
9696
"spring-boot-liquibase",
9797
"spring-boot-mail",
98-
"spring-boot-micrometer-metrics",
99-
"spring-boot-micrometer-observation",
100-
"spring-boot-micrometer-tracing",
10198
"spring-boot-mongodb",
10299
"spring-boot-mustache",
103100
"spring-boot-neo4j",
@@ -136,6 +133,21 @@ def dependenciesOf(String version) {
136133
"spring-boot-webservices",
137134
"spring-boot-zipkin"
138135
]
136+
if (version.equals("4.0.0-M1")) {
137+
modules += [
138+
"spring-boot-metrics",
139+
"spring-boot-observation",
140+
"spring-boot-tracing"
141+
]
142+
}
143+
else {
144+
modules += [
145+
"spring-boot-micrometer-metrics",
146+
"spring-boot-micrometer-observation",
147+
"spring-boot-micrometer-tracing"
148+
]
149+
}
150+
return modules
139151
}
140152
return [
141153
"spring-boot",

0 commit comments

Comments
 (0)