Add to build.gradle
apply from:'https://gist.githubusercontent.com/kdabir/0dbf62e16e5af8ef55b43442148f0fe5/raw/depTree.gradle'
And Run
$ gradle tattletaleReport
configurations { tattletale } | |
repositories { mavenCentral() } | |
dependencies { | |
tattletale 'org.jboss.tattletale:tattletale-ant:1.2.0.Beta2' | |
tattletale 'org.javassist:javassist:3.22.0-GA', {force = true} | |
} | |
ant.taskdef(name: "tattletaleReport", | |
classname: "org.jboss.tattletale.ant.ReportTask", | |
classpath: configurations.tattletale.asPath | |
) | |
// More options at: | |
// https://docs.jboss.org/tattletale/userguide/1.2/en-US/html_single/#ant | |
task tattletaleReport { | |
doLast { | |
ant.tattletaleReport(source: '.', destination: 'build/report/') | |
} | |
} |