How does one install/integrate downloaded plugins?


(kshaw) #1

I am trying to use gradle to build cucumber-jvm with groovy. The gradle-cumber-plugin plugin wants you to apply the plugin from a URL on github… As I would not like my projects to stop building when the URL doesn’t exist anymore, I would like to know how I can download it and do what ever needs to be done to be able to refer to it without a path or url, e.g. apply plugin: ‘gradle-cucumber’.

How are plugins installed (not with maven)? I have the source code of the plugin.


(kshaw) #2

The plugin deploys to a maven directory structure. So, I seem to be able to get the plugin to be used, using a buildscript block to add to the classpath and using:

apply plugin: com.excella.gradle.cucumber.CucumberPlugin