mirror of https://github.com/apache/cassandra
parent
3eff9e755c
commit
7ad746cc83
|
|
@ -1948,7 +1948,7 @@
|
|||
classpathref="checkstyle.lib.path"/>
|
||||
</target>
|
||||
|
||||
<target name="checkstyle" depends="init-checkstyle,build-project" description="Run custom checkstyle code analysis" if="java.version.11" unless="no-checkstyle">
|
||||
<target name="checkstyle" depends="init-checkstyle,build-project" description="Run custom checkstyle code analysis" if="java.version.8" unless="no-checkstyle">
|
||||
<property name="checkstyle.log.dir" value="${build.dir}/checkstyle" />
|
||||
<property name="checkstyle.report.file" value="${checkstyle.log.dir}/checkstyle_report.xml"/>
|
||||
<mkdir dir="${checkstyle.log.dir}" />
|
||||
|
|
@ -1964,7 +1964,7 @@
|
|||
</checkstyle>
|
||||
</target>
|
||||
|
||||
<target name="checkstyle-test" depends="init-checkstyle,resolver-retrieve-build,build-project" description="Run custom checkstyle code analysis on tests" if="java.version.11" unless="no-checkstyle">
|
||||
<target name="checkstyle-test" depends="init-checkstyle,resolver-retrieve-build,build-project" description="Run custom checkstyle code analysis on tests" if="java.version.8" unless="no-checkstyle">
|
||||
<property name="checkstyle.log.dir" value="${build.dir}/checkstyle" />
|
||||
<property name="checkstyle_test.report.file" value="${checkstyle.log.dir}/checkstyle_report_test.xml"/>
|
||||
<mkdir dir="${checkstyle.log.dir}" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue