I am 99.9% sure this warning comes from ant (we use ant's rat task)
somewhere - not gradle... It looks like loading rat's task defs overrides
ant's built-in javadoc for some reason - you can see it if you modify
rat-sources.gradle:
def generateReport(File reportFile) {
// Set up ant rat task.
logger.lifecycle("Before.")
def ratClasspath = project.rootProject.configurations.ratDeps.asPath
ant.taskdef(resource: 'org/apache/rat/anttasks/antlib.xml',
classpath: ratClasspath)
logger.lifecycle("after.")
the warning will be right there in between...
D.
On Thu, Nov 25, 2021 at 3:37 PM Alan Woodward <[email protected]> wrote:
> Hi all,
>
> When running `./gradlew check` against the latest master I get a whole
> bunch of output messages like this:
>
> > Task :lucene:analysis:smartcn:rat
> Trying to override old definition of task javadoc
>
> > Task :lucene:analysis:stempel:rat
> Trying to override old definition of task javadoc
>
> > Task :lucene:analysis:common:rat
> Trying to override old definition of task javadoc
>
> I don’t think it’s breaking anything but it’s a bit disconcerting. Maybe
> something to do with a gradle upgrade?
>
> - Alan
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>