Download the Ant task distribution at

http://www.crap4j.org/downloads/crap4j_ant_latest.jar

There is a usage tutorial for the Crap4j Ant task, which is also included in the download.