Add no-build-accord Ant option to be able to skip Accord module rebuild

patch by Dmitry Konstantinov; reviewed by Stefan Miklosovic for CASSANDRA-21350
This commit is contained in:
Dmitry Konstantinov 2026-05-04 12:02:40 +01:00
parent 3df9dc242c
commit e64e119c8d
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@
--> -->
<project basedir=".." name="apache-cassandra-accord-build" <project basedir=".." name="apache-cassandra-accord-build"
xmlns:if="ant:if"> xmlns:if="ant:if">
<target name="_build-accord" depends="init"> <target name="_build-accord" depends="init" unless="no-build-accord">
<exec executable="${basedir}/${accord.dir}/gradlew" dir="${basedir}/${accord.dir}" logError="true" failonerror="true" failifexecutionfails="true"> <exec executable="${basedir}/${accord.dir}/gradlew" dir="${basedir}/${accord.dir}" logError="true" failonerror="true" failifexecutionfails="true">
<!-- Need to call clean as a version change with a jar that didn't have code changes will not produce a new jar with the new version... so need clean to make sure build is stable --> <!-- Need to call clean as a version change with a jar that didn't have code changes will not produce a new jar with the new version... so need clean to make sure build is stable -->
<arg value="clean" /> <arg value="clean" />