You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Chia-Ping Tsai (Jira)" <ji...@apache.org> on 2020/05/06 06:44:00 UTC

[jira] [Commented] (KAFKA-9948) Gradle Issue

    [ https://issues.apache.org/jira/browse/KAFKA-9948?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100512#comment-17100512 ] 

Chia-Ping Tsai commented on KAFKA-9948:
---------------------------------------

It would be better to use gradle wrapper rather than local gradle. For example: "./gradlew clean build -x test". see readme for more commands.

> Gradle Issue
> ------------
>
>                 Key: KAFKA-9948
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9948
>             Project: Kafka
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.4.1
>         Environment: gradle -v
> ------------------------------------------------------------
> Gradle 6.0.1
> ------------------------------------------------------------
> Build time:   2019-11-18 20:25:01 UTC
> Revision:     fad121066a68c4701acd362daf4287a7c309a0f5
> Kotlin:       1.3.50
> Groovy:       2.5.8
> Ant:          Apache Ant(TM) version 1.10.7 compiled on September 1 2019
> JVM:          1.8.0_152 (Oracle Corporation 25.152-b16)
> OS:           Mac OS X 10.15.4 x86_64
>            Reporter: Dulvin Witharane
>            Priority: Blocker
>
> Can't get Gradle to build kafka.
>  
> Build file '/Users/dulvin/Documents/Work/git/kafka/build.gradle' line: 457
> 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
>  
> The above error is thrown



--
This message was sent by Atlassian Jira
(v8.3.4#803005)