0

我使用 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 或命令行运行它,也会发生同样的事情。

有什么我想念的想法吗?

4

1 回答 1

2

Ant 支持现在位于一个单独的模块中。您还需要添加依赖项groovy-ant

于 2012-07-07T15:11:25.953 回答