Browse Source

Merge branch '3.2.x' into 3.3.x

Closes gh-42440
pull/42700/head
Phillip Webb 1 year ago
parent
commit
100bedc07d
  1. 4
      build.gradle
  2. 37
      buildSrc/src/main/java/org/springframework/boot/build/KotlinConventions.java
  3. 40
      buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationPlugin.java
  4. 1
      spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle
  5. 1
      spring-boot-project/spring-boot-actuator/build.gradle
  6. 1
      spring-boot-project/spring-boot-autoconfigure/build.gradle
  7. 1
      spring-boot-project/spring-boot-dependencies/build.gradle
  8. 1
      spring-boot-project/spring-boot-devtools/build.gradle
  9. 1
      spring-boot-project/spring-boot-docker-compose/build.gradle
  10. 1
      spring-boot-project/spring-boot-docs/build.gradle
  11. 1
      spring-boot-project/spring-boot-parent/build.gradle
  12. 1
      spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle
  13. 1
      spring-boot-project/spring-boot-test-autoconfigure/build.gradle
  14. 1
      spring-boot-project/spring-boot-test/build.gradle
  15. 1
      spring-boot-project/spring-boot-testcontainers/build.gradle
  16. 1
      spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle
  17. 1
      spring-boot-project/spring-boot-tools/spring-boot-autoconfigure-processor/build.gradle
  18. 1
      spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle
  19. 1
      spring-boot-project/spring-boot-tools/spring-boot-cli/build.gradle
  20. 1
      spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata-changelog-generator/build.gradle
  21. 1
      spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/build.gradle
  22. 1
      spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/build.gradle
  23. 1
      spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle
  24. 1
      spring-boot-project/spring-boot-tools/spring-boot-gradle-test-support/build.gradle
  25. 1
      spring-boot-project/spring-boot-tools/spring-boot-jarmode-tools/build.gradle
  26. 7
      spring-boot-project/spring-boot-tools/spring-boot-loader-classic/build.gradle
  27. 1
      spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle
  28. 7
      spring-boot-project/spring-boot-tools/spring-boot-loader/build.gradle
  29. 1
      spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle
  30. 1
      spring-boot-project/spring-boot-tools/spring-boot-properties-migrator/build.gradle
  31. 1
      spring-boot-project/spring-boot-tools/spring-boot-test-support-docker/build.gradle
  32. 1
      spring-boot-project/spring-boot-tools/spring-boot-test-support/build.gradle
  33. 1
      spring-boot-project/spring-boot/build.gradle
  34. 1
      spring-boot-system-tests/spring-boot-deployment-tests/build.gradle
  35. 1
      spring-boot-system-tests/spring-boot-image-tests/build.gradle
  36. 1
      spring-boot-tests/spring-boot-integration-tests/spring-boot-configuration-processor-tests/build.gradle
  37. 1
      spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/build.gradle
  38. 1
      spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-classic-tests/build.gradle
  39. 1
      spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/build.gradle
  40. 1
      spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/build.gradle
  41. 1
      spring-boot-tests/spring-boot-integration-tests/spring-boot-sni-tests/build.gradle
  42. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-activemq/build.gradle
  43. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle
  44. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-log4j2/build.gradle
  45. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-noweb/build.gradle
  46. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-ui/build.gradle
  47. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/build.gradle
  48. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-amqp/build.gradle
  49. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle
  50. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-aop/build.gradle
  51. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/build.gradle
  52. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-bootstrap-registry/build.gradle
  53. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle
  54. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-cassandra/build.gradle
  55. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-couchbase/build.gradle
  56. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jdbc/build.gradle
  57. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jpa/build.gradle
  58. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-ldap/build.gradle
  59. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-mongo/build.gradle
  60. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-flyway/build.gradle
  61. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle
  62. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc/build.gradle
  63. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-redis/build.gradle
  64. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-rest/build.gradle
  65. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-devtools/build.gradle
  66. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-flyway/build.gradle
  67. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-graphql/build.gradle
  68. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hateoas/build.gradle
  69. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-integration/build.gradle
  70. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/build.gradle
  71. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-jsp/build.gradle
  72. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-ssl/build.gradle
  73. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty/build.gradle
  74. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jpa/build.gradle
  75. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-vintage/build.gradle
  76. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-kafka/build.gradle
  77. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/build.gradle
  78. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-logback/build.gradle
  79. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-authorization-server/build.gradle
  80. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-client/build.gradle
  81. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-resource-server/build.gradle
  82. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-parent-context/build.gradle
  83. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-profile/build.gradle
  84. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-prometheus/build.gradle
  85. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-property-validation/build.gradle
  86. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-pulsar/build.gradle
  87. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-quartz/build.gradle
  88. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-client/build.gradle
  89. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle
  90. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-rsocket/build.gradle
  91. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-saml2-service-provider/build.gradle
  92. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-jersey/build.gradle
  93. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-webflux/build.gradle
  94. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure/build.gradle
  95. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-servlet/build.gradle
  96. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-hazelcast/build.gradle
  97. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-jdbc/build.gradle
  98. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-mongo/build.gradle
  99. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-redis/build.gradle
  100. 1
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-webflux-mongo/build.gradle
  101. Some files were not shown because too many files have changed in this diff Show More

4
build.gradle

@ -24,3 +24,7 @@ allprojects { @@ -24,3 +24,7 @@ allprojects {
resolutionStrategy.cacheChangingModulesFor 0, "minutes"
}
}
subprojects {
apply plugin: "org.springframework.boot.conventions"
}

37
buildSrc/src/main/java/org/springframework/boot/build/KotlinConventions.java

@ -68,23 +68,26 @@ class KotlinConventions { @@ -68,23 +68,26 @@ class KotlinConventions {
private void configureDokkatoo(Project project) {
DokkatooExtension dokkatoo = project.getExtensions().getByType(DokkatooExtension.class);
dokkatoo.getDokkatooSourceSets().named(SourceSet.MAIN_SOURCE_SET_NAME).configure((sourceSet) -> {
sourceSet.getSourceRoots().setFrom(project.file("src/main/kotlin"));
sourceSet.getClasspath()
.from(project.getExtensions()
.getByType(SourceSetContainer.class)
.getByName(SourceSet.MAIN_SOURCE_SET_NAME)
.getOutput());
sourceSet.getExternalDocumentationLinks().create("spring-boot-javadoc", (link) -> {
link.getUrl().set(URI.create("https://docs.spring.io/spring-boot/api/java/"));
link.getPackageListUrl().set(URI.create("https://docs.spring.io/spring-boot/api/java/element-list"));
});
sourceSet.getExternalDocumentationLinks().create("spring-framework-javadoc", (link) -> {
String url = "https://docs.spring.io/spring-framework/docs/%s/javadoc-api/"
.formatted(project.property("springFrameworkVersion"));
link.getUrl().set(URI.create(url));
link.getPackageListUrl().set(URI.create(url + "/element-list"));
});
dokkatoo.getDokkatooSourceSets().configureEach((sourceSet) -> {
if (SourceSet.MAIN_SOURCE_SET_NAME.equals(sourceSet.getName())) {
sourceSet.getSourceRoots().setFrom(project.file("src/main/kotlin"));
sourceSet.getClasspath()
.from(project.getExtensions()
.getByType(SourceSetContainer.class)
.getByName(SourceSet.MAIN_SOURCE_SET_NAME)
.getOutput());
sourceSet.getExternalDocumentationLinks().create("spring-boot-javadoc", (link) -> {
link.getUrl().set(URI.create("https://docs.spring.io/spring-boot/api/java/"));
link.getPackageListUrl()
.set(URI.create("https://docs.spring.io/spring-boot/api/java/element-list"));
});
sourceSet.getExternalDocumentationLinks().create("spring-framework-javadoc", (link) -> {
String url = "https://docs.spring.io/spring-framework/docs/%s/javadoc-api/"
.formatted(project.property("springFrameworkVersion"));
link.getUrl().set(URI.create(url));
link.getPackageListUrl().set(URI.create(url + "/element-list"));
});
}
});
}

40
buildSrc/src/main/java/org/springframework/boot/build/autoconfigure/AutoConfigurationPlugin.java

@ -98,23 +98,35 @@ public class AutoConfigurationPlugin implements Plugin<Project> { @@ -98,23 +98,35 @@ public class AutoConfigurationPlugin implements Plugin<Project> {
.add(AutoConfigurationPlugin.AUTO_CONFIGURATION_METADATA_CONFIGURATION_NAME, task.getOutputFile(),
(artifact) -> artifact.builtBy(task));
});
project.getPlugins().withType(ArchitecturePlugin.class, (architecturePlugin) -> {
project.getTasks().named("checkArchitectureMain", ArchitectureCheck.class).configure((task) -> {
SourceSet main = project.getExtensions()
.getByType(JavaPluginExtension.class)
.getSourceSets()
.getByName(SourceSet.MAIN_SOURCE_SET_NAME);
File resourcesDirectory = main.getOutput().getResourcesDir();
task.dependsOn(main.getProcessResourcesTaskName());
task.getInputs().files(resourcesDirectory).optional().withPathSensitivity(PathSensitivity.RELATIVE);
task.getRules()
.add(allClassesAnnotatedWithAutoConfigurationShouldBeListedInAutoConfigurationImports(
autoConfigurationImports(project, resourcesDirectory)));
});
});
project.getPlugins()
.withType(ArchitecturePlugin.class, (plugin) -> configureArchitecturePluginTasks(project));
});
}
private void configureArchitecturePluginTasks(Project project) {
project.getTasks().configureEach((task) -> {
if ("checkArchitectureMain".equals(task.getName()) && task instanceof ArchitectureCheck architectureCheck) {
configureCheckArchitectureMain(project, architectureCheck);
}
});
}
private void configureCheckArchitectureMain(Project project, ArchitectureCheck architectureCheck) {
SourceSet main = project.getExtensions()
.getByType(JavaPluginExtension.class)
.getSourceSets()
.getByName(SourceSet.MAIN_SOURCE_SET_NAME);
File resourcesDirectory = main.getOutput().getResourcesDir();
architectureCheck.dependsOn(main.getProcessResourcesTaskName());
architectureCheck.getInputs()
.files(resourcesDirectory)
.optional()
.withPathSensitivity(PathSensitivity.RELATIVE);
architectureCheck.getRules()
.add(allClassesAnnotatedWithAutoConfigurationShouldBeListedInAutoConfigurationImports(
autoConfigurationImports(project, resourcesDirectory)));
}
private ArchRule allClassesAnnotatedWithAutoConfigurationShouldBeListedInAutoConfigurationImports(
Provider<AutoConfigurationImports> imports) {
return ArchRuleDefinition.classes()

1
spring-boot-project/spring-boot-actuator-autoconfigure/build.gradle

@ -3,7 +3,6 @@ plugins { @@ -3,7 +3,6 @@ plugins {
id "org.antora"
id "org.springframework.boot.auto-configuration"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.optional-dependencies"
}

1
spring-boot-project/spring-boot-actuator/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.optional-dependencies"
id "org.springframework.boot.docker-test"

1
spring-boot-project/spring-boot-autoconfigure/build.gradle

@ -2,7 +2,6 @@ plugins { @@ -2,7 +2,6 @@ plugins {
id "java-library"
id "org.springframework.boot.auto-configuration"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.docker-test"
id "org.springframework.boot.optional-dependencies"

1
spring-boot-project/spring-boot-dependencies/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "org.springframework.boot.bom"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}

1
spring-boot-project/spring-boot-devtools/build.gradle

@ -2,7 +2,6 @@ plugins { @@ -2,7 +2,6 @@ plugins {
id "java-library"
id "org.springframework.boot.auto-configuration"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.integration-test"
id "org.springframework.boot.optional-dependencies"

1
spring-boot-project/spring-boot-docker-compose/build.gradle

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
plugins {
id "java-library"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.docker-test"
id "org.springframework.boot.optional-dependencies"

1
spring-boot-project/spring-boot-docs/build.gradle

@ -2,7 +2,6 @@ plugins { @@ -2,7 +2,6 @@ plugins {
id "dev.adamko.dokkatoo-html"
id "java"
id "org.antora"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id 'org.jetbrains.kotlin.jvm'
}

1
spring-boot-project/spring-boot-parent/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "org.springframework.boot.bom"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}

1
spring-boot-project/spring-boot-starters/spring-boot-starter-parent/build.gradle

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
plugins {
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.maven-repository"
}

1
spring-boot-project/spring-boot-test-autoconfigure/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.docker-test"
id "org.springframework.boot.optional-dependencies"

1
spring-boot-project/spring-boot-test/build.gradle

@ -2,7 +2,6 @@ plugins { @@ -2,7 +2,6 @@ plugins {
id "dev.adamko.dokkatoo-html"
id "java-library"
id "org.jetbrains.kotlin.jvm"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.optional-dependencies"
}

1
spring-boot-project/spring-boot-testcontainers/build.gradle

@ -2,7 +2,6 @@ plugins { @@ -2,7 +2,6 @@ plugins {
id "java-library"
id "org.springframework.boot.auto-configuration"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.docker-test"
id "org.springframework.boot.optional-dependencies"

1
spring-boot-project/spring-boot-tools/spring-boot-antlib/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}

1
spring-boot-project/spring-boot-tools/spring-boot-autoconfigure-processor/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.annotation-processor"
}

1
spring-boot-project/spring-boot-tools/spring-boot-buildpack-platform/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.docker-test"
}

1
spring-boot-project/spring-boot-tools/spring-boot-cli/build.gradle

@ -2,7 +2,6 @@ plugins { @@ -2,7 +2,6 @@ plugins {
id "java"
id "eclipse"
id "org.springframework.boot.deployed"
id "org.springframework.boot.conventions"
id "org.springframework.boot.integration-test"
}

1
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata-changelog-generator/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Configuration Metadata Changelog Generator"

1
spring-boot-project/spring-boot-tools/spring-boot-configuration-metadata/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}

1
spring-boot-project/spring-boot-tools/spring-boot-configuration-processor/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
id "org.springframework.boot.annotation-processor"
}

1
spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/build.gradle

@ -6,7 +6,6 @@ plugins { @@ -6,7 +6,6 @@ plugins {
id "java-gradle-plugin"
id "maven-publish"
id "org.antora"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
id "org.springframework.boot.maven-repository"
id "org.springframework.boot.optional-dependencies"

1
spring-boot-project/spring-boot-tools/spring-boot-gradle-test-support/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Gradle Testing Support"

1
spring-boot-project/spring-boot-tools/spring-boot-jarmode-tools/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}

7
spring-boot-project/spring-boot-tools/spring-boot-loader-classic/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}
@ -22,6 +21,8 @@ dependencies { @@ -22,6 +21,8 @@ dependencies {
testRuntimeOnly("org.springframework:spring-webmvc")
}
tasks.named("checkArchitectureMain").configure {
prohibitObjectsRequireNonNull = false
tasks.configureEach {
if ("checkArchitectureMain".equals(it.name)) {
prohibitObjectsRequireNonNull = false
}
}

1
spring-boot-project/spring-boot-tools/spring-boot-loader-tools/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}

7
spring-boot-project/spring-boot-tools/spring-boot-loader/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}
@ -22,6 +21,8 @@ dependencies { @@ -22,6 +21,8 @@ dependencies {
testRuntimeOnly("org.springframework:spring-webmvc")
}
tasks.named("checkArchitectureMain").configure {
prohibitObjectsRequireNonNull = false
tasks.configureEach {
if ("checkArchitectureMain".equals(it.name)) {
prohibitObjectsRequireNonNull = false
}
}

1
spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "org.antora"
id "org.springframework.boot.conventions"
id "org.springframework.boot.maven-plugin"
id "org.springframework.boot.optional-dependencies"
id "org.springframework.boot.docker-test"

1
spring-boot-project/spring-boot-tools/spring-boot-properties-migrator/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.deployed"
}

1
spring-boot-project/spring-boot-tools/spring-boot-test-support-docker/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.optional-dependencies"
}

1
spring-boot-project/spring-boot-tools/spring-boot-test-support/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java-library"
id "org.springframework.boot.conventions"
id "org.springframework.boot.optional-dependencies"
}

1
spring-boot-project/spring-boot/build.gradle

@ -2,7 +2,6 @@ plugins { @@ -2,7 +2,6 @@ plugins {
id "dev.adamko.dokkatoo-html"
id "java-library"
id "org.jetbrains.kotlin.jvm"
id "org.springframework.boot.conventions"
id "org.springframework.boot.configuration-properties"
id "org.springframework.boot.deployed"
id "org.springframework.boot.optional-dependencies"

1
spring-boot-system-tests/spring-boot-deployment-tests/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "war"
id "org.springframework.boot.conventions"
id "org.springframework.boot.system-test"
}

1
spring-boot-system-tests/spring-boot-image-tests/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id 'java-gradle-plugin'
id "org.springframework.boot.conventions"
id "org.springframework.boot.system-test"
}

1
spring-boot-tests/spring-boot-integration-tests/spring-boot-configuration-processor-tests/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Configuration Processor Tests"

1
spring-boot-tests/spring-boot-integration-tests/spring-boot-launch-script-tests/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
id "de.undercouch.download"
}

1
spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-classic-tests/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-integration-tests/spring-boot-loader-tests/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
id "de.undercouch.download"
}

1
spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.integration-test"
}

1
spring-boot-tests/spring-boot-integration-tests/spring-boot-sni-tests/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.integration-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-activemq/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-custom-security/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Actuator custom security smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-log4j2/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Actuator Log4j 2 smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-noweb/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Actuator non-web smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator-ui/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Actuator UI smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-actuator/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Actuator smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-amqp/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle

@ -1,5 +1,4 @@ @@ -1,5 +1,4 @@
plugins {
id "org.springframework.boot.conventions"
id "java-base"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-aop/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot AOP smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-batch/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Batch smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-bootstrap-registry/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Bootstrap Registry smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-cache/build.gradle vendored

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-cassandra/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-couchbase/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jdbc/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Data JDBC smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-jpa/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Data JPA smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-ldap/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Data LDAP smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-mongo/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-flyway/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc-liquibase/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-r2dbc/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Data R2DBC smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-redis/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-data-rest/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Data REST smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-devtools/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot DevTools smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-flyway/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Flyway smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-graphql/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot GraphQL smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-hateoas/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot HATEOAS smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-integration/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Integration smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jersey/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Jersey smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-jsp/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "war"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Jetty JSP smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty-ssl/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Jetty SSL smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jetty/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Jetty smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-jpa/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot JPA smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-junit-vintage/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot JUnit Vintage smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-kafka/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-liquibase/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Liquibase smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-logback/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Logback smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-authorization-server/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot OAuth2 Authorization Server smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-client/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot OAuth2 Client smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-oauth2-resource-server/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot OAuth2 Resource Server smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-parent-context/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot parent context smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-profile/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot profile smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-prometheus/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Prometheus smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-property-validation/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot property validation smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-pulsar/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-quartz/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Quartz smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-client/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot reactive OAuth 2 client smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-reactive-oauth2-resource-server/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot reactive OAuth 2 resource server smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-rsocket/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot RSocket smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-saml2-service-provider/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot SAML 2 service provider smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-jersey/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot secure Jersey smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure-webflux/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot secure WebFlux smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-secure/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Security smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-servlet/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "war"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Servlet smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-hazelcast/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Session smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-jdbc/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
}
description = "Spring Boot Session JDBC smoke test"

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-mongo/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-redis/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

1
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-session-webflux-mongo/build.gradle

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
plugins {
id "java"
id "org.springframework.boot.conventions"
id "org.springframework.boot.docker-test"
}

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save