Alexander Kitaev wrote: > > Talking on maven deployment, another thing for which I had to introduce > pretty ugly code is adding a dependency to the pom. I can iterate and > modify existing ones in "whenConfgured" closure, but did not find a way to > add a new one (except to instantiate MavenDependency, using class of an > existing dependency object to avoid class loading problem). >
The best way to add new content to a POM is with the POM builder: http://gradle.org/latest/docs/userguide/userguide_single.html#pomBuilder -- Peter Niederwieser Developer, Gradle http://www.gradle.org Trainer & Consultant, Gradleware http://www.gradleware.com Creator, Spock Framework http://spockframework.org -- View this message in context: http://gradle.1045684.n5.nabble.com/Issues-with-deploying-multiple-artifacts-to-maven-tp4341354p4362137.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
