Hi Sankar,

It looks like Kafka's build scripts are not compatible with Gradle
3.0.  I'd suggest using the gradle wrapper (./gradlew) included in the
Kafka repo, which will automatically install Gradle 2.13 which is
compatible with the build scripts.

Mathieu


On Mon, Aug 22, 2016 at 3:00 AM, Sankar Narayanan
<meetshankarh...@gmail.com> wrote:
> Hi,
>
> I am facing the below issue while trying to build kafka using gradle.  can
> you please help?
>
>  installed grade 3.0 and then git clone kafka from apache site. Then I ran
> gradle under kafka folder. But I got the error "No such property: useAnt
> for class: org.gradle.api.tasks.scala.ScalaCompileOptions". I looked at
> build.gradle for useAnt and removed that line. The error still persisted.
> Even I removed all scalsCompile related part from build.gradle I still get
> the same error.
>
> I searched online and found that useAnt is deprecated in gradle 3.0, but
> why this error still happen if I removed useAnt from build.gradle?
>
> Thanks,

Reply via email to