adding a task before resolving dependencies in gradle

26 views
Skip to first unread message

manoj thakkar

unread,
Sep 26, 2014, 4:30:00 AM9/26/14
to gradle-androi...@googlegroups.com
Hi,

How do i add a task to run before gradle resolve dependencies,
basically i am trying got find the dependencies version of a particular binary by reading an xml file first,

whatever version i find in that xml i want gradle project build to use that version of that particular dependency,

A common use case is you have a parent pom.xml (Mavenized builds) which defines what version of all dependencies you shall pick in subproject, and we want to pick the version from pom.xml, before doing resolve dependenciesin gradle build.



Reply all
Reply to author
Forward
0 new messages