grails - Custom Plugin dependencies.groovy is ignored -
the problem: i've built custom grails plugin, defined dependencies on other plugins via buildconfig.groovy , packaged plugin zip file. added zip local maven repository , well. file dependencies.groovy within zip has dependent plugin entries should. example:
grails.project.dependency.resolution = { inherits 'global' log 'warn' repositories { grailscentral() } dependencies { // runtime 'mysql:mysql-connector-java:5.1.5' } plugins { build(':release:2.0.4', ':rest-client-builder:1.0.2') { export = false } compile ":rest:0.7" // #1 plugin i'm dependent upon compile ":fields:1.3" // #2 plugin i'm dependent upon } }
when add plugin compile dependency within project (within eclipse, via buildconfig.groovy file), , refresh grails dependencies, plugin installed plugins plugin dependent on not installed (dependencies.groovy ignored).
i've seen problem posted on , on , no 1 provides real solution. has found fix problem?
Comments
Post a Comment