Don't log warnings from ant (different class loader, I guess). Makes Alan happier.

This commit is contained in:
Dawid Weiss 2021-11-26 11:39:55 +01:00
parent 651755aab7
commit 1029651d12
1 changed files with 1 additions and 0 deletions

View File

@ -139,6 +139,7 @@ class RatTask extends DefaultTask {
def generateReport(File reportFile) {
// Set up ant rat task.
def ratClasspath = project.rootProject.configurations.ratDeps.asPath
ant.setLifecycleLogLevel(AntBuilder.AntMessagePriority.ERROR)
ant.taskdef(resource: 'org/apache/rat/anttasks/antlib.xml', classpath: ratClasspath)
// Collect all output files for debugging.