Example of usage (adding a dependency):
GradleModelBuilder builder = GradleModelBuilder.create(gradleFacet.getModel()); builder.addDependency(GradleDependencyBuilder.create("compile", "org.x:y:1.0")); gradleFacet.setModel(builder);@see GradleModel @see GradleModelBuilder @author Adam WyĆuda
|
|