I have rebuilt the plugin grails-skin-loader and have it in the grails-skin-loader.zip file.
My BuildConfig.groovy has:
grails.plugin.location.skin-loader = "../interlated_git/interlated/grails-skin-loader"
grails.project.dependency.resolution = {
...
plugins {
compile ":skin-loader:1.0.9"
The error message I am getting seems to relate to the '-':
(grails.plugin.location.skin - loader) is a binary expression, but it should be a variable expression at line: 18 column: 36. File: grails-contact-form/grails-app/conf/BuildConfig.groovy @ line 18, column 36.
grails.plugin.location.skin-loader = "../interlated_git/interlated/grails-skin-loader"
使用引号:
grails.plugin.location."skin-loader" = "../interlated_git/interlated/grails-skin-loader"
如果减号在第一个限定词中,则可以使用如下所示(已通过Gradle脚本测试):
this."oss-releases.url"="https://something"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.