Hi,
I want to add Gradle dependency through code like this
GradleModelBuilder builder = GradleModelBuilder.create();
model.addTask(GradleTaskBuilder.create() .
setName("newTask") .
setDependendsOn(GradleTaskBuilder.create().
setName("otherTask"))
.setCode("println 'Hello!'"));
But i know for that i have to add dependency in my forge addon pom.xml something like below one
<dependency>
<groupId>org.jboss.forge.addon</groupId>
<artifactId>gradle</artifactId>
<classifier>forge-addon</classifier>
<version>${version}</version>
</dependency>
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
Hi All,
I have found the solution by this link
http://mvnrepository.com/artifact/org.jboss.forge.addon/gradle
So i will proceed by this one.
Thank you