Stop using deprecated JavaExec property in spring-boot-smoke-test-ant

Closes gh-36086
This commit is contained in:
Andy Wilkinson 2023-06-27 11:17:50 +01:00
parent 0fdaba2487
commit e8cbb9ae1b

View File

@ -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,