Ant Module
Use it like this in your Ant project:
<project name="Qulice" basedir="." default="qulice"> <taskdef name="qulice" classname="com.qulice.ant.QuliceTask" classpath="${com.qulice:qulice-ant:jar}"/> <target name="qulice" description="Execute qulice checks"> <property name="license" value="LICENSE.txt"/> <qulice srcdir="${basedir}/src/main/java" classesdir="${basedir}/target/classes" classpath="${basedir}/target/classes:${basedir}"/> </target> </project>
- License file must be in classpath.
- Only one directory may be used as classesdir.
That's it. Your build will fail if you have quality problems. Read this page about how you can fix them.