返回首页 Gradle 用户指南官方文档中文版

Groovy 快速入门

创建 Groovy 项目时, 你需要使用 Groovy 插件. 这个插件扩展了 Java 插件, 加入了编译 Groovy 的依赖. 你的项目可以包含 Groovy 的源代码, Java 源代码, 或者它们的混合.