Browse Source

Polish whitespace in gradle files

pull/47381/head
Phillip Webb 3 months ago
parent
commit
08a641c1a2
  1. 2
      build-plugin/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples/running/boot-run-system-property.gradle
  2. 2
      build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/dsl/BuildInfoDslIntegrationTests-jarWithCustomName.gradle
  3. 2
      build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/dsl/BuildInfoDslIntegrationTests-warWithCustomName.gradle
  4. 2
      build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/SpringBootAotPluginIntegrationTests-processTestAotHasLibraryResourcesOnItsClasspath.gradle
  5. 2
      build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/SpringBootAotPluginIntegrationTests-processTestAotHasTransitiveRuntimeDependenciesOnItsClasspath.gradle
  6. 2
      build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests-customLayers.gradle
  7. 2
      build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests-multiModuleCustomLayers.gradle
  8. 4
      module/spring-boot-data-redis-test/build.gradle
  9. 2
      module/spring-boot-liquibase/build.gradle
  10. 2
      module/spring-boot-micrometer-metrics/build.gradle
  11. 2
      module/spring-boot-micrometer-tracing/build.gradle
  12. 2
      module/spring-boot-opentelemetry/build.gradle
  13. 4
      module/spring-boot-restdocs/build.gradle
  14. 2
      module/spring-boot-tomcat/build.gradle
  15. 2
      smoke-test/spring-boot-smoke-test-graphql/build.gradle
  16. 2
      smoke-test/spring-boot-smoke-test-webservices/build.gradle

2
build-plugin/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples/running/boot-run-system-property.gradle

@ -27,7 +27,7 @@ tasks.named("bootRun") {
tasks.register("configuredSystemProperties") { tasks.register("configuredSystemProperties") {
doLast { doLast {
bootRun.systemProperties.each { k, v -> bootRun.systemProperties.each { k, v ->
println "$k = $v" println "$k = $v"
} }
} }

2
build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/dsl/BuildInfoDslIntegrationTests-jarWithCustomName.gradle

@ -29,7 +29,7 @@ bootJar {
baseName = 'foo' baseName = 'foo'
} }
else { else {
archiveBaseName = 'foo' archiveBaseName = 'foo'
} }
} }

2
build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/dsl/BuildInfoDslIntegrationTests-warWithCustomName.gradle

@ -29,7 +29,7 @@ bootWar {
baseName = 'foo' baseName = 'foo'
} }
else { else {
archiveBaseName = 'foo' archiveBaseName = 'foo'
} }
} }

2
build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/SpringBootAotPluginIntegrationTests-processTestAotHasLibraryResourcesOnItsClasspath.gradle

@ -42,7 +42,7 @@ dependencies {
} }
task('processTestAotClasspath') { task('processTestAotClasspath') {
dependsOn configurations.processTestAotClasspath dependsOn configurations.processTestAotClasspath
doFirst { doFirst {
configurations.processTestAotClasspath.files.each { println it } configurations.processTestAotClasspath.files.each { println it }
} }

2
build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/plugin/SpringBootAotPluginIntegrationTests-processTestAotHasTransitiveRuntimeDependenciesOnItsClasspath.gradle

@ -42,7 +42,7 @@ dependencies {
} }
task('processTestAotClasspath') { task('processTestAotClasspath') {
dependsOn configurations.processTestAotClasspath dependsOn configurations.processTestAotClasspath
doFirst { doFirst {
configurations.processTestAotClasspath.files.each { println it } configurations.processTestAotClasspath.files.each { println it }
} }

2
build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests-customLayers.gradle

@ -33,7 +33,7 @@ bootJar {
include "*:*:*SNAPSHOT" include "*:*:*SNAPSHOT"
} }
intoLayer("commons-dependencies") { intoLayer("commons-dependencies") {
include "org.apache.commons:*" include "org.apache.commons:*"
} }
intoLayer("dependencies") intoLayer("dependencies")
} }

2
build-plugin/spring-boot-gradle-plugin/src/test/resources/org/springframework/boot/gradle/tasks/bundling/BootJarIntegrationTests-multiModuleCustomLayers.gradle

@ -48,7 +48,7 @@ bootJar {
includeProjectDependencies() includeProjectDependencies()
} }
intoLayer("commons-dependencies") { intoLayer("commons-dependencies") {
include "org.apache.commons:*" include "org.apache.commons:*"
} }
intoLayer("dependencies") intoLayer("dependencies")
} }

4
module/spring-boot-data-redis-test/build.gradle

@ -45,8 +45,8 @@ dependencies {
dockerTestRuntimeOnly("io.lettuce:lettuce-core") dockerTestRuntimeOnly("io.lettuce:lettuce-core")
dockerTestRuntimeOnly("org.springframework.data:spring-data-redis") dockerTestRuntimeOnly("org.springframework.data:spring-data-redis")
testImplementation(project(":test-support:spring-boot-test-support")) testImplementation(project(":test-support:spring-boot-test-support"))
testRuntimeOnly("ch.qos.logback:logback-classic") testRuntimeOnly("ch.qos.logback:logback-classic")
} }

2
module/spring-boot-liquibase/build.gradle

@ -32,7 +32,7 @@ dependencies {
api("org.liquibase:liquibase-core") { api("org.liquibase:liquibase-core") {
exclude(group: "javax.xml.bind", module: "jaxb-api") exclude(group: "javax.xml.bind", module: "jaxb-api")
} }
optional(project(":core:spring-boot-autoconfigure")) optional(project(":core:spring-boot-autoconfigure"))
optional(project(":core:spring-boot-docker-compose")) optional(project(":core:spring-boot-docker-compose"))
optional(project(":core:spring-boot-testcontainers")) optional(project(":core:spring-boot-testcontainers"))

2
module/spring-boot-micrometer-metrics/build.gradle

@ -63,7 +63,7 @@ dependencies {
optional("org.apache.logging.log4j:log4j-core") optional("org.apache.logging.log4j:log4j-core")
optional("org.aspectj:aspectjweaver") optional("org.aspectj:aspectjweaver")
optional("org.testcontainers:grafana") optional("org.testcontainers:grafana")
dockerTestImplementation(project(":test-support:spring-boot-docker-test-support")) dockerTestImplementation(project(":test-support:spring-boot-docker-test-support"))
dockerTestImplementation(testFixtures(project(":core:spring-boot-docker-compose"))) dockerTestImplementation(testFixtures(project(":core:spring-boot-docker-compose")))
dockerTestImplementation("io.rest-assured:rest-assured") dockerTestImplementation("io.rest-assured:rest-assured")

2
module/spring-boot-micrometer-tracing/build.gradle

@ -48,7 +48,7 @@ dependencies {
optional("org.aspectj:aspectjweaver") optional("org.aspectj:aspectjweaver")
optional("org.junit.platform:junit-platform-launcher") optional("org.junit.platform:junit-platform-launcher")
optional("org.testcontainers:grafana") optional("org.testcontainers:grafana")
dockerTestImplementation(project(":test-support:spring-boot-docker-test-support")) dockerTestImplementation(project(":test-support:spring-boot-docker-test-support"))
dockerTestImplementation(testFixtures(project(":core:spring-boot-docker-compose"))) dockerTestImplementation(testFixtures(project(":core:spring-boot-docker-compose")))
dockerTestImplementation("org.testcontainers:junit-jupiter") dockerTestImplementation("org.testcontainers:junit-jupiter")

2
module/spring-boot-opentelemetry/build.gradle

@ -36,7 +36,7 @@ dependencies {
optional(project(":module:spring-boot-actuator-autoconfigure")) optional(project(":module:spring-boot-actuator-autoconfigure"))
optional("io.opentelemetry:opentelemetry-exporter-otlp") optional("io.opentelemetry:opentelemetry-exporter-otlp")
optional("org.testcontainers:grafana") optional("org.testcontainers:grafana")
dockerTestImplementation(project(":test-support:spring-boot-docker-test-support")) dockerTestImplementation(project(":test-support:spring-boot-docker-test-support"))
dockerTestImplementation(testFixtures(project(":core:spring-boot-docker-compose"))) dockerTestImplementation(testFixtures(project(":core:spring-boot-docker-compose")))
dockerTestImplementation("org.testcontainers:junit-jupiter") dockerTestImplementation("org.testcontainers:junit-jupiter")

4
module/spring-boot-restdocs/build.gradle

@ -32,12 +32,12 @@ dependencies {
optional("org.springframework.restdocs:spring-restdocs-mockmvc") optional("org.springframework.restdocs:spring-restdocs-mockmvc")
optional("org.springframework.restdocs:spring-restdocs-restassured") optional("org.springframework.restdocs:spring-restdocs-restassured")
optional("org.springframework.restdocs:spring-restdocs-webtestclient") optional("org.springframework.restdocs:spring-restdocs-webtestclient")
testImplementation(project(":test-support:spring-boot-test-support")) testImplementation(project(":test-support:spring-boot-test-support"))
testImplementation(project(":module:spring-boot-webflux-test")) testImplementation(project(":module:spring-boot-webflux-test"))
testImplementation(project(":module:spring-boot-webmvc-test")) testImplementation(project(":module:spring-boot-webmvc-test"))
testImplementation(project(":module:spring-boot-hateoas")) testImplementation(project(":module:spring-boot-hateoas"))
testImplementation("org.springframework.security:spring-security-test") testImplementation("org.springframework.security:spring-security-test")
testRuntimeOnly(project(":module:spring-boot-tomcat")) testRuntimeOnly(project(":module:spring-boot-tomcat"))
} }

2
module/spring-boot-tomcat/build.gradle

@ -45,7 +45,7 @@ dependencies {
exclude group: "org.apache.tomcat", module: "tomcat-annotations-api" exclude group: "org.apache.tomcat", module: "tomcat-annotations-api"
} }
optional("org.springframework:spring-webflux") optional("org.springframework:spring-webflux")
runtimeOnly("jakarta.annotation:jakarta.annotation-api") runtimeOnly("jakarta.annotation:jakarta.annotation-api")
testImplementation(project(":core:spring-boot-test")) testImplementation(project(":core:spring-boot-test"))

2
smoke-test/spring-boot-smoke-test-graphql/build.gradle

@ -28,6 +28,6 @@ dependencies {
testImplementation(project(":module:spring-boot-graphql-test")) testImplementation(project(":module:spring-boot-graphql-test"))
testImplementation(project(":module:spring-boot-webmvc-test")) testImplementation(project(":module:spring-boot-webmvc-test"))
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testRuntimeOnly("org.springframework:spring-webflux") testRuntimeOnly("org.springframework:spring-webflux")
} }

2
smoke-test/spring-boot-smoke-test-webservices/build.gradle

@ -26,7 +26,7 @@ dependencies {
runtimeOnly("jaxen:jaxen") runtimeOnly("jaxen:jaxen")
runtimeOnly("wsdl4j:wsdl4j") runtimeOnly("wsdl4j:wsdl4j")
testImplementation(project(":starter:spring-boot-starter-test")) testImplementation(project(":starter:spring-boot-starter-test"))
testImplementation(project(":module:spring-boot-webservices-test")) testImplementation(project(":module:spring-boot-webservices-test"))
} }

Loading…
Cancel
Save