Add a workaround for a behavior change in Android Gradle Plugin.
Add a workaround for a behavior change in Android Gradle Plugin.

The latest Android Gradle Plugin (studio-master-dev) changed something
in timing that now requires us to lazily load the compile classpath with
a method that does not *yet* exist in 2.4.0-alpha6.

Bug: 37709030
Test: ./gradlew createArchive
Change-Id: I54d00f13c6f67761a85b4c7cb15b216404b1eea0

androidx/androidx,androidx/androidx,AndroidX/androidx,aosp-mirror/platform_frameworks_support,aosp-mirror/platform_frameworks_support,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,AndroidX/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx