There's a PR[1] which will enable gradle 6.0.1 to work with Kafka, hope it
will be merged soon.


1. https://github.com/apache/kafka/pull/7677

On Thu, Nov 14, 2019 at 7:14 PM Miguel Silvestre <msilves...@gmail.com>
wrote:

> Hi,
>
> Thank you! That worked. I used gradle 5.6.4 and it worked, just out of the
> box.
> Let's see if gradlew installAll will work :)
> --
> Miguel Silvestre
>
>
> On Thu, Nov 14, 2019 at 10:41 AM Bruno Cadonna <br...@confluent.io> wrote:
>
> > Hi Miguel,
> >
> > I build Kafka with Gradle 5.2.1 and at the end of the build I get the
> > following message:
> >
> > "Deprecated Gradle features were used in this build, making it
> > incompatible with Gradle 6.0."
> >
> > So, maybe you ran in one of those incompatibilities.
> >
> > Try to compile with a 5.x version of Gradle.
> >
> > Best,
> > Bruno
> >
> > On Thu, Nov 14, 2019 at 10:59 AM Miguel Silvestre <msilves...@gmail.com>
> > wrote:
> > >
> > > Hi,
> > >
> > > I'm on macOS Mojave 10.14.6 but when I run gradle (I'm using version
> > 6.0) I
> > > get the following error:
> > >
> > > What can I do?
> > >
> > > FAILURE: Build failed with an exception.
> > >
> > > * Where:
> > > Build file '/Users/miguel.silvestre/Projects/others/kafka/build.gradle'
> > > line: 480
> > >
> > > * What went wrong:
> > > A problem occurred evaluating root project 'kafka'.
> > > > Could not create task ':clients:spotbugsMain'.
> > >    > Could not create task of type 'SpotBugsTask'.
> > >       > Could not create an instance of type
> > > com.github.spotbugs.internal.SpotBugsReportsImpl.
> > >          >
> > >
> >
> org.gradle.api.reporting.internal.TaskReportContainer.<init>(Ljava/lang/Class;Lorg/gradle/api/Task;)V
> > >
> > > * Try:
> > > Run with --stacktrace option to get the stack trace. Run with --info or
> > > --debug option to get more log output. Run with --scan to get full
> > insights.
> > >
> > > * Get more help at https://help.gradle.org
> > >
> > > Deprecated Gradle features were used in this build, making it
> > incompatible
> > > with Gradle 7.0.
> > > Use '--warning-mode all' to show the individual deprecation warnings.
> > > See
> > >
> >
> https://docs.gradle.org/6.0/userguide/command_line_interface.html#sec:command_line_warnings
> > >
> > > BUILD FAILED in 2s
> > > --
> > > Miguel Silvestre
> >
>

Reply via email to