Reputation: 925
I have a custom grails plugin I m trying to develop and set this
def dependsOn = [dataSource: "1.0"]
in the Plugin script.
Now, my custom plugin loads just fine but I dont see tomcat installed in my application. How does one install a dependency plugin (prompt the user to say yes/no)? Is this even possible?
Upvotes: 2
Views: 1251
Reputation: 4492
Once your plugin is published, this should work. Try:
grails install-plugin nimble
You will see that both Nimble and Shiro are installed (Nimble depends on Shiro).
Upvotes: 1
Reputation: 21150
Not sure what Grails version you're using, but Grails 1.2 has much improved dependency management for plugins and apps; see this post by Graeme Rocher for details.
Upvotes: 0