Joel Koshy created KAFKA-1540:
---------------------------------
Summary: Gradle error "Could not create task of type 'ScalaDoc'"
Key: KAFKA-1540
URL: https://issues.apache.org/jira/browse/KAFKA-1540
Project: Kafka
Issue Type: Bug
Components: build
Environment: java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
uname -a:
Darwin jkoshy 13.2.0 Darwin Kernel Version 13.2.0: Thu Apr 17 23:03:13 PDT
2014; root:xnu-2422.100.13~1/RELEASE_X86_64 x86_64
Reporter: Joel Koshy
See environment for more details.
Seems to be triggered by Java 1.8. 1.6 and 1.7 are fine.
{code}
./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
{code}
--
This message was sent by Atlassian JIRA
(v6.2#6252)