Speed up gradle configuration step.
Speed up gradle configuration step.

This CL speeds up gradle configuration step (e.g. ./gradlew tasks)
by 0.2 seconds. This CL makes configuration to be lazily
evaluated when task is actually run.

Test: ./gradlew tasks --scan
Change-Id: I5e1d656b53f62ec337b444a644025362158b1a81

androidx/androidx,androidx/androidx,androidx/androidx,AndroidX/androidx,androidx/androidx,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,androidx/androidx,AndroidX/androidx,AndroidX/androidx,androidx/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,AndroidX/androidx,aosp-mirror/platform_frameworks_support,AndroidX/androidx,aosp-mirror/platform_frameworks_support