Browse Source

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

Closes gh-36086
pull/36620/head
Andy Wilkinson 3 years ago
parent
commit
e8cbb9ae1b
  1. 2
      spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle

2
spring-boot-tests/spring-boot-smoke-tests/spring-boot-smoke-test-ant/build.gradle

@ -50,7 +50,7 @@ task syncTestRepository(type: Sync) { @@ -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