Started wiring up library and jar dependencies.
authorAdam Murdoch <adam.murdoch@gradleware.com>
Thu, 13 Sep 2012 02:17:05 +0000 (12:17 +1000)
committerAdam Murdoch <adam.murdoch@gradleware.com>
Thu, 13 Sep 2012 02:52:30 +0000 (12:52 +1000)
commit100568312b3b6142e14b95585c5644df0ace7963
tree6e52416369add7f31255b13dd915d4b8a1fba829
parent48ff1b8083e286082ad5724700cfdabeb11758b7
Started wiring up library and jar dependencies.

Changed the AndroidLibraryPlugin to publish both library variants.

Changed the AndroidPlugin to unzip incoming library bundles and
provide the appropriate AndroidDependency implementations.

Lots of things not finished yet:

* Does not work for libraries published to a Maven repository.
* Creates a flattened list of library dependencies, rather than a graph.
* Jar dependencies are not wired up.
* Only implemented for applications, not libraries or test apps.
* Does not include variant specific dependencies.
* Needs some more work to better wire up the task dependencies.

Change-Id: I20f5c298ca051c203828c4076e2693aef47ace70
gradle/src/main/groovy/com/android/build/gradle/AndroidLibraryPlugin.groovy
gradle/src/main/groovy/com/android/build/gradle/AndroidPlugin.groovy
gradle/src/main/groovy/com/android/build/gradle/PrepareDependenciesTask.groovy [new file with mode: 0644]
gradle/src/main/groovy/com/android/build/gradle/internal/AndroidDependencyImpl.groovy [new file with mode: 0644]
testapps/applibtest/app/build.gradle