Skip to content

Commit 4a05230

Browse files
committed
Move spring-boot-properties-migrator into spring-boot-tools
Closes gh-32491
1 parent bd8f53a commit 4a05230

18 files changed

+11
-7
lines changed

Diff for: settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ include "spring-boot-project:spring-boot-tools:spring-boot-jarmode-layertools"
6262
include "spring-boot-project:spring-boot-tools:spring-boot-loader"
6363
include "spring-boot-project:spring-boot-tools:spring-boot-loader-tools"
6464
include "spring-boot-project:spring-boot-tools:spring-boot-maven-plugin"
65+
include "spring-boot-project:spring-boot-tools:spring-boot-properties-migrator"
6566
include "spring-boot-project:spring-boot-tools:spring-boot-test-support"
6667
include "spring-boot-project:spring-boot"
6768
include "spring-boot-project:spring-boot-autoconfigure"
@@ -70,7 +71,6 @@ include "spring-boot-project:spring-boot-actuator-autoconfigure"
7071
include "spring-boot-project:spring-boot-cli"
7172
include "spring-boot-project:spring-boot-devtools"
7273
include "spring-boot-project:spring-boot-docs"
73-
include "spring-boot-project:spring-boot-properties-migrator"
7474
include "spring-boot-project:spring-boot-test"
7575
include "spring-boot-project:spring-boot-test-autoconfigure"
7676
include "spring-boot-tests:spring-boot-integration-tests:spring-boot-configuration-processor-tests"
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,22 @@
11
plugins {
2-
id "java-library"
2+
id "java"
33
id "org.springframework.boot.conventions"
44
id "org.springframework.boot.deployed"
55
}
66

77
description = "Spring Boot Properties Migrator"
88

99
dependencies {
10-
api(project(":spring-boot-project:spring-boot"))
11-
api(project(":spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata"))
10+
implementation(project(":spring-boot-project:spring-boot"))
11+
implementation(project(":spring-boot-project:spring-boot-tools:spring-boot-configuration-metadata"))
1212

1313
testImplementation(project(":spring-boot-project:spring-boot-test"))
1414
testImplementation("org.junit.jupiter:junit-jupiter")
1515
testImplementation("org.assertj:assertj-core")
1616
testImplementation("org.springframework:spring-test")
17+
}
18+
19+
tasks.named("javadoc").configure {
20+
// No public or protected classes
21+
enabled = false
1722
}
+2-3
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,11 @@
3636
/**
3737
* An {@link ApplicationListener} that inspects the {@link ConfigurableEnvironment
3838
* environment} for configuration keys that need to be migrated. Automatically renames the
39-
* keys that have a matching replacement and log a report of what was discovered.
39+
* keys that have a matching replacement and logs a report of what was discovered.
4040
*
4141
* @author Stephane Nicoll
42-
* @since 2.0.0
4342
*/
44-
public class PropertiesMigrationListener implements ApplicationListener<SpringApplicationEvent> {
43+
class PropertiesMigrationListener implements ApplicationListener<SpringApplicationEvent> {
4544

4645
private static final Log logger = LogFactory.getLog(PropertiesMigrationListener.class);
4746

0 commit comments

Comments
 (0)