Grails版本 - 3.2.4
build.gradle看起来像这样:
buildscript {
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
....
classpath "com.bertramlabs.plugins:asset-pipeline-gradle:2.13.1"
...
}
}
version "0.1"
apply plugin: "asset-pipeline"
repositories {
mavenLocal()
maven { url "https://repo.grails.org/grails/core" }
maven { url "http://repo1.maven.org/maven2" }
}
dependencies {
....
runtime 'org.grails.plugins:grails-console:2.0.9'
runtime "com.bertramlabs.plugins:asset-pipeline-grails:2.13.1"
....
}
这里有什么想法吗?
答案 0 :(得分:0)
默认情况下,插件在生产中被禁用,原因显而易见(攻击者可以对您的应用程序执行任何操作) - 但如果您了解风险并确保安全,则可以重新启用它。查看此处的文档https://github.com/sheehan/grails-console#security