Adding dependencies & maven repo required for a plugin

plugins

(Matty) #1

So I am trying to construct together a plugin for Gradle, my plugin requires a dependency which is not found when the plugin is specified or used in gradle because it doesn’t exist in the maven central repository.

What is the correct way to add a dependency and maven repository to my plugin?

Also to note this is in Java and not Groovy.


(John Scancella) #2

Matty,

If it doesn’t exist in maven-central how are you using it? If it is something that you also created you could upload it to maven central or include all the files in the plugin (i.e. make it a “fat” jar)