Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-6224

Can not build Kafka 1.0.0 with gradle 3.2.1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: build
    • Labels:
      None
    • Environment:
      Ubuntu 17.10

      Description

      Trying to play around with Kafka on a brand new machine with Ubutun 17.10 installed.
      When building, got the following error, I do have Gradle 3.2.1 installed. definitely no need to upgrade, should I downgrade?

      ```
      chaoren@chaoren:~/code/kafka-1.0.0-src$ ./gradlew jar -Pscala_version=2.11.11
      To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: https://docs.gradle.org/2.13/userguide/gradle_daemon.html.
      Building project 'core' with Scala version 2.11.11

      FAILURE: Build failed with an exception.

      • Where:
        Build file '/home/chaoren/code/kafka-1.0.0-src/build.gradle' line: 963
      • What went wrong:
        A problem occurred evaluating root project 'kafka-1.0.0-src'.
        > Failed to apply plugin [class 'com.github.jengelman.gradle.plugins.shadow.ShadowBasePlugin']
        > This version of Shadow supports Gradle 3.0+ only. Please upgrade.
      • Try:
        Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

      BUILD FAILED

      Total time: 6.186 secs
      chaoren@chaoren:~/code/kafka-1.0.0-src$ gradle -version

      ------------------------------------------------------------
      Gradle 3.2.1
      ------------------------------------------------------------

      Build time: 2012-12-21 00:00:00 UTC
      Revision: none

      Groovy: 2.4.8
      Ant: Apache Ant(TM) version 1.9.9 compiled on June 29 2017
      JVM: 1.8.0_151 (Oracle Corporation 25.151-b12)
      OS: Linux 4.13.0-16-generic amd64
      ```

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              renchaorevee Chao Ren
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: