Hi Chia-Ping and Ismael,

Thanks for your follow-ups and thanks for finding the root-cause for
this, that the problem appeared when the rat plugin wasn't applied
when the .git folder does not exist. This is something faced indeed
with a new locally cloned repository, while existing local
repositories for which a build had already been made worked just fine.

Thanks,
Alexandre

Le mer. 24 mars 2021 à 06:16, Chia-Ping Tsai <chia7...@apache.org> a écrit :
>
> hi Alexandre,
>
> please take a look at https://github.com/apache/kafka/pull/10386. We are 
> going to fix that error. Thanks for your report.
>
> On 2021/03/10 14:07:08, Alexandre Dupriez <alexandre.dupr...@gmail.com> wrote:
> > Hi Community,
> >
> > I tried to build Kafka from trunk on my environment today (2021, March
> > 10th) and it failed with the following Gradle error at the beginning
> > of the build, while Gradle configures project from build.gradle:
> >
> >   "Could not get unknown property 'compileJava' for root project
> > '<project-root>' of type org.gradle.api.Project."
> >
> > The command used is "gradle releaseTarGz". Removing "dependsOn:
> > compileJava" from the task "aggregatedJavadoc" (added on March 9th
> > [1]) made the problem disappear - I wonder if anyone else encountered
> > the same problem?
> >
> > [1] https://github.com/apache/kafka/pull/10272
> >
> > Many thanks,
> > Alexandre
> >

Reply via email to