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

Closes gh-36086
pull/36620/head
Andy Wilkinson 1 year ago
parent 0fdaba2487
commit e8cbb9ae1b

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

Loading…
Cancel
Save