From 816728186abea0cf85bab0d12ddc448f9f6f42bd Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Wed, 21 Dec 2022 22:23:13 -0800 Subject: [PATCH] Clean ant lib folder before build Update `spring-boot-smoke-test-ant` so that the ant lib folder is always cleaned. Prior to this commit, it was possible for the folder to contain stale artifacts. --- .../spring-boot-smoke-test-ant/build.gradle | 1 + .../spring-boot-smoke-test-ant/build.xml | 2 ++ 2 files changed, 3 insertions(+) diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle index 3efb8cdc8a..692750679b 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle @@ -51,6 +51,7 @@ task antRun(type: JavaExec) { dependsOn syncTestRepository, configurations.antDependencies classpath = configurations.antDependencies; main = "org.apache.tools.ant.launch.Launcher" + args = [ "clean", "build" ] systemProperties = [ "ant-spring-boot.version" : version, "projectDir": project.layout.projectDirectory diff --git a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml index ab8dc58413..418a7501f0 100644 --- a/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml +++ b/spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.xml @@ -38,6 +38,7 @@ + @@ -48,6 +49,7 @@ +