[forge-users] How to give gradle addon dependency

forge-users at lists.jboss.org forge-users at lists.jboss.org
Tue Mar 3 04:09:14 EST 2015

 *I want to add Gradle dependency through code like this*

GradleModelBuilder builder = GradleModelBuilder.create(); 
model.addTask(GradleTaskBuilder.create() .
setName("newTask") .
.setCode("println 'Hello!'"));

But i know for that i have to add dependency in my forge addon pom.xml something like below one


what could be the possible version for this!!
Or is this way of doing is wrong?
Please give me suggestion for how to give forge gradle dependency

Posted by forums
Original post: https://developer.jboss.org/message/920365#920365

More information about the forge-users mailing list