Merge branch '2.7.x'

This commit is contained in:
Phillip Webb 2022-12-21 22:26:57 -08:00
commit 6d16aed36e
2 changed files with 3 additions and 0 deletions

View File

@ -51,6 +51,7 @@ task antRun(type: JavaExec) {
dependsOn syncTestRepository, configurations.antDependencies
classpath = configurations.antDependencies;
mainClass = "org.apache.tools.ant.launch.Launcher"
args = [ "clean", "build" ]
systemProperties = [
"ant-spring-boot.version" : version,
"projectDir": project.layout.projectDirectory

View File

@ -38,6 +38,7 @@
<target name="clean" description="cleans all created files/dirs">
<delete dir="target" />
<delete dir="${lib.dir}" />
</target>
<target name="build" depends="compile">
@ -48,6 +49,7 @@
</spring-boot:lib>
</spring-boot:exejar>
</target>
<!-- Manual equivalent of the build target -->
<target name="manual" depends="compile">
<jar destfile="target/${ant.project.name}-${ant-spring-boot.version}.jar" compress="false">