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 >