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

Gradle error "Could not create task of type 'ScalaDoc'"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • build
    • None

    Description

      See environment for more details.

      Seems to be triggered by Java 1.8. 1.6 and 1.7 are fine.

      ./gradlew jar
      Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
      The TaskContainer.add() method has been deprecated and is scheduled to be removed in Gradle 2.0. Please use the create() method instead.
      Building project 'core' with Scala version 2.8.0
      
      FAILURE: Build failed with an exception.
      
      * Where:
      Build file '/Users/jkoshy/Projects/kafka/build.gradle' line: 192
      
      * What went wrong:
      A problem occurred evaluating root project 'kafka'.
      > Could not create task of type 'ScalaDoc'.
      
      * 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: 11.648 secs
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jjkoshy Joel Jacob Koshy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: