1

I looked in the Grails docs, but I could not find how to instruct the BuildConfig.groovy to tell my Grails app to get a plugin from a github repo. This is the repo I want to include, https://github.com/westonplatter/backbonejs-grails-plugin.

dmahapatro
  • 49,365
  • 7
  • 88
  • 117
westonplatter
  • 1,475
  • 2
  • 19
  • 30

1 Answers1

0

You have to clone (or fork based on your need) the repo and build the plugin to create a zip and then use the plugin as a plugin dependency in BuildConfig.

Once cloned, you can use grails maven-install on the plugin so that the zip would be available in local .m2 repo if you have one. Follow this for steps and this for a similar answer.

Otherwise, you can directly use the plugin in your app by following this answer or refer Specifying Plugin Locations.

Community
  • 1
  • 1
dmahapatro
  • 49,365
  • 7
  • 88
  • 117
  • I'm trying to install this https://github.com/danieldbower/grails-spring-security-cas-attribs which does have a released ZIP file, but I can't figure out how to reference the github repo. I tried with the obvious, but it doesn't work: `compile "com.github.danieldbower:grails-spring-security-cas-attribs:1.1.1"` – Tobia Mar 25 '15 at 09:22