Hi,

Thanks a lot! am able to build and import the projects in Eclipse now.

Thanks,

On Tue, Aug 23, 2016 at 5:51 PM, Sankar Narayanan <meetshankarh...@gmail.com
> wrote:

> Hi,
>
> I got your response as below.
>
> "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",
>
>
> When i tried running gradle wrapper (./gradlew) directly, am getting the 
> following error.
>
> and is the reason i tried installing gradle using homebrew, which finally 
> ended up installing gradle 3.0 .  Can you please help on to overcome the 
> below error?
>
>
> $ ./gradlew
>
> Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain
>
> Thanks,
>
>
>
> On Mon, Aug 22, 2016 at 2:30 PM, 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