我使用 Gradle 来管理 Groovy 项目。Groovy 设置为 1.8.6,然后我想切换到 Groovy 2.0。当我这样做时,我得到:
:compileGroovy
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileGroovy'.
> groovy/util/AntBuilder
如果我从 STS 或命令行运行它,也会发生同样的事情。
有什么我想念的想法吗?