我正在尝试构建OpenJDK但是从gradle那里得到一个错误:
FAILURE: Build failed with an exception.
* Where:
Build file '/home/pi/openjdk/rt/buildSrc/build.gradle' line: 86
* What went wrong:
A problem occurred evaluating root project 'buildSrc'.
Cause: Could not find method antlr3() for arguments [{group=org.antlr,
name=antlr-runtime, version=3.1.3}] on root project 'buildSrc'.
我安装了antlr3并在我的classpath中。命令
java org.antlr.Tool -version
返回
ANTLR Parser Generator Version 3.5.2
我错过了什么?