diff --git a/RNTester/android/app/gradle.properties b/RNTester/android/app/gradle.properties index 74027349d..04cbf4f74 100644 --- a/RNTester/android/app/gradle.properties +++ b/RNTester/android/app/gradle.properties @@ -1,4 +1,6 @@ android.useDeprecatedNdk=true +org.gradle.parallel=true +org.gradle.configureondemand=true MYAPP_RELEASE_STORE_FILE=my-release-key.keystore MYAPP_RELEASE_KEY_ALIAS=my-key-alias MYAPP_RELEASE_STORE_PASSWORD=***** diff --git a/react.gradle b/react.gradle index 64b2f02f8..bdf392ad9 100644 --- a/react.gradle +++ b/react.gradle @@ -23,7 +23,7 @@ void runBefore(String dependentTaskName, Task task) { } } -gradle.projectsEvaluated { +afterEvaluate { // Grab all build types and product flavors def buildTypes = android.buildTypes.collect { type -> type.name } def productFlavors = android.productFlavors.collect { flavor -> flavor.name }