Merge branch '2.7.x'

pull/33629/head
Phillip Webb 2 years ago
commit 6d16aed36e

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

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

Loading…
Cancel
Save