From ca265dca9337cb55ff136862bb14e58a2afc0624 Mon Sep 17 00:00:00 2001 From: blagoev Date: Fri, 17 Mar 2017 15:37:35 +0100 Subject: [PATCH] Make sync build by default (unless turned off w/ buildWithSync) --- react-native/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/react-native/android/build.gradle b/react-native/android/build.gradle index 942c1596..597e7158 100644 --- a/react-native/android/build.gradle +++ b/react-native/android/build.gradle @@ -40,7 +40,7 @@ def jscDownloadDir = new File("$projectDir/src/main/jni/jsc") def coreDownloadDir = new File("$projectDir/src/main/jni") def publishDir = new File("$projectDir/../../android/") // to build with sync run: ./gradlew assembleDebug -PbuildWithSync=true -ext.buildSync = project.hasProperty('buildWithSync') ? project.getProperty('buildWithSync').toBoolean() : false +ext.buildSync = project.hasProperty('buildWithSync') ? project.getProperty('buildWithSync').toBoolean() : true task generateVersionClass(type: Copy) { from 'src/main/templates/Version.java'