It should work with 6.6[1], or use the included gradlew script to bootstrap
and use the right gradle version.

Kind regards,

Tom

[1]:
https://github.com/apache/kafka/blob/2.7.0/gradle/wrapper/gradle-wrapper.properties

On Wed, Jan 27, 2021 at 9:52 AM felixzh <felixzh2...@126.com> wrote:

> Hi,
> Gradle 5.6.4
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> At 2021-01-27 17:40:17, "Liam Clarke-Hutchinson" <
> liam.cla...@adscale.co.nz> wrote:
> >Hi,
> >
> >What version of Gradle?
> >
> >Cheers,
> >
> >Liam
> >
> >On Wed, 27 Jan. 2021, 10:35 pm felixzh, <felixzh2...@126.com> wrote:
> >
> >> ~/Downloads/kafka-2.7.0# gradle clean
> >>
> >>
> >>
> >>
> >> > Configure project :
> >>
> >> Building project 'core' with Scala version 2.13.3
> >>
> >>
> >>
> >>
> >> FAILURE: Build failed with an exception.
> >>
> >>
> >>
> >>
> >> * Where:
> >>
> >> Build file '/root/Downloads/kafka-2.7.0/build.gradle' line: 471
> >>
> >>
> >>
> >>
> >> * What went wrong:
> >>
> >> A problem occurred evaluating root project 'kafka-2.7.0'.
> >>
> >> > Failed to apply plugin [id 'org.gradle.scala']
> >>
> >>    > Could not find method scala() for arguments
> >>
> [build_97rd0aprcab26i03s589xrhv1$_run_closure5$_closure74$_closure108@30f53a84
> ]
> >> on object of type org.gradle.api.plugins.scala.ScalaPlugin.
> >>
> >>
> >>
> >>
> >> * 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
> >>
> >>
> >>
> >>
> >> BUILD FAILED in 1s
>

Reply via email to