How to use grails.plugin.location? -
i have plugin project created grails create-plugin myplugin
. created 'normal' grails project grails create-app myplugindemo
. i'm trying install myplugin
plugin in myplugindemo
don't understand how use grails.plugin.location
.
where put grails.plugin.location
inside buildconfig.groovy
? inside plugins
section? inside repositories
section?
what should append grails.plugin.location
? should grails.plugin.location.myplugin
? or grails.plugin.location.grails-my-plugin
? else?
grails.plugin.location
not dependency resolution, goes outside grails.project.dependency.resolution
.
it should below, if both myplugindemo
, myplugin
in same directory. moreover, not install plugin app, application refer file system plugin convenient in development mode. in order use packaged plugin has referred in plugins
inside grails.project.dependency.resolution
grails.plugin.location.myplugin = "../myplugin" grails.project.dependency.resolution = { repositories { } dependencies { } plugins { } }
Comments
Post a Comment