From e8cbb9ae1ba41e9d496c09c484fcd9f23dda74b7 Mon Sep 17 00:00:00 2001 From: Andy Wilkinson Date: Tue, 27 Jun 2023 11:17:50 +0100 Subject: [PATCH] Stop using deprecated JavaExec property in spring-boot-smoke-test-ant Closes gh-36086 --- .../spring-boot-smoke-test-ant/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 692750679b..7ff1740185 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 @@ -50,7 +50,7 @@ task syncTestRepository(type: Sync) { task antRun(type: JavaExec) { dependsOn syncTestRepository, configurations.antDependencies classpath = configurations.antDependencies; - main = "org.apache.tools.ant.launch.Launcher" + mainClass = "org.apache.tools.ant.launch.Launcher" args = [ "clean", "build" ] systemProperties = [ "ant-spring-boot.version" : version,