Grails 3 没有包装器?

Grails 3 does not have wrapper?

Grails 3.0.x 不再能够创建包装器了吗?

文档似乎不再包含 Grails 包装部分。

是否有其他方法可以使用 gradle 包装器来执行 grails 命令,例如 create-controller?

Does Grails 3.0.x no longer have the ability to create wrappers anymore?

没有

Is there an alternative way which we can use the gradle wrapper to execute grails commands such as create-controller?

不适用于 create-controller 这样的命令,不。

我们可能会重新引入 grailsw。如果您想跟踪该功能,请在 https://github.com/grails/grails-core/issues 提交功能请求。

Grails 包装器从 Grails 3.2.3 开始回归: http://docs.grails.org/3.2.x/guide/introduction.html#whatsNewGrailsWrapper

我有一个使用 Grails 3.1.x 创建的应用程序,然后升级到 Grails 3.2.6,但是 'grailsw' 等文件没有出现在我的项目根目录中,我不确定如何通过项目中的某些命令添加它们。

当我使用 Grails 3.2.6 创建新应用程序时,新文件位于项目根目录中(grailsw、grailsw.bat、grails-wrapper.jar)。我假设它们可以复制到像我这样的应用程序:对此的快速测试对我有用。