Merge pull request #926 from realm/sync-on-by-default-android

Make sync build by default (unless turned off w/ buildWithSync)
This commit is contained in:
blagoev 2017-03-20 11:47:03 +01:00 committed by GitHub
commit 78caae7b17
1 changed files with 1 additions and 1 deletions

View File

@ -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'