在Grails 3.2.3文档中,它将这段代码显示为自定义脚本的示例:
def scriptName = args[0]
def model = model(scriptName)
def overwrite = flag('force') ? true : false
render template: template('artifacts/Script.groovy'),
destination: file("src/main/scripts/${model.lowerCaseName}.groovy"),
model: model,
overwrite: overwrite
grails-app或src层次结构中的artifacts目录在哪里?