plugins - Grails 2.3.8 dependency resolution -
i have 2 plugins - plugin , plugin b.
plugin b contains domain class.i have used command - grails package-plugin on plugin b.
i have declared plugin dependency in buildconfig.groovy of plugin below:
plugins { build(":release:3.0.1", ":rest-client-builder:1.0.3") { export = false } compile ":plugin-b:0.1" }
i have created service class in plugin a, uses domain class plugin b. now, when try refresh-dependencies on plugin / or package-plugin on plugin a, gives me error not able find domain class plugin b.
any 1 has idea if missing here?
you can tell grails plugin depends on plugin b adding dependson
plugin a.
class aplugin { def dependson = [b : "<version>"] }
see plugin load order in grails documentation.
Comments
Post a Comment