Hi Alexandre,

Did you use `./gradlew releaseTarGz` (you should never use the system
installed gradle)? That works for me. Also `./gradlew clean releaseTarGz`
works for me.

Ismael

On Wed, Mar 10, 2021 at 8:42 AM Ismael Juma <ism...@juma.me.uk> wrote:

> Interesting, I didn't have the same problem. I'll try to reproduce.
>
> Ismael
>
> On Wed, Mar 10, 2021, 6:07 AM 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