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