Defer calculation of compile classpath until required.
authorAdam Murdoch <adam.murdoch@gradleware.com>
Fri, 7 Sep 2012 02:28:25 +0000 (12:28 +1000)
committerAdam Murdoch <adam.murdoch@gradleware.com>
Fri, 7 Sep 2012 02:28:25 +0000 (12:28 +1000)
commit36f78e63a51c9673e3ba8282d705ee3a8510c4ba
tree2af02cb7c55e07b7da21cfb46445fdc637d44b43
parentaef748b2f8a3b5fb89534727c0da17e8ee5b1b2e
Defer calculation of compile classpath until required.

The other projects in the build may not have been configured
when the tasks for the current project are being added.

Also added a workaround for the task dependency information
going missing when the compile classpath is calculated.

Change-Id: Ica2042d70aa31ce8794e49960fb1c8fb5c9d9c0d
gradle/src/main/groovy/com/android/build/gradle/AndroidBasePlugin.groovy