Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想将我的项目从 Grails 更改为3.0.9,3.0.10因为后者包含 Promise API。
3.0.9
3.0.10
如何在 IntelliJ 中做到这一点?
在gradle.properties文件更改中
gradle.properties
grailsVersion=3.0.10
也在build.gradle变化中
build.gradle
buildscript { ext { grailsVersion = project.grailsVersion } }
您只需要在 gradle.properties 中更改 grails 版本。gradle 构建脚本将从构建文件中指定的 grails 存储库中提取所需的 jar 文件。