From 780f75d5a2f83ebe279b0b6a32a2fe40a0b3a686 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 28 Sep 2023 13:45:45 -0700 Subject: [PATCH] Polish --- .../spring-boot-server-tests-app/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/spring-boot-server-tests-app/build.gradle b/spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/spring-boot-server-tests-app/build.gradle index b8ff1ca48d..bd73d368e5 100644 --- a/spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/spring-boot-server-tests-app/build.gradle +++ b/spring-boot-tests/spring-boot-integration-tests/spring-boot-server-tests/spring-boot-server-tests-app/build.gradle @@ -12,13 +12,13 @@ apply plugin: "io.spring.dependency-management" repositories { maven { url "file:${rootDir}/../test-repository"} mavenCentral() - maven { + maven { url "https://repo.spring.io/milestone" content { excludeGroup "org.springframework.boot" } } - maven { + maven { url "https://repo.spring.io/snapshot" content { excludeGroup "org.springframework.boot" @@ -41,7 +41,7 @@ configurations { } } -tasks.register("resourcesJar", Jar) { jar -> +tasks.register("resourcesJar", Jar) { jar -> def nested = project.resources.text.fromString("nested") from(nested) { into "META-INF/resources/" @@ -76,7 +76,7 @@ def boolean isWindows() { } ["jetty", "tomcat", "undertow"].each { webServer -> - def configurer = { task -> + def configurer = { task -> task.dependsOn resourcesJar task.mainClass = "com.example.ResourceHandlingApplication" task.classpath = configurations.getByName(webServer)