Add --canary flag to gradle project test and update gradle.

This flag enables support for Android Studio 3.0 which allows us to use
Java 8 features. Gradle is updated to version 4.1.0.

BUG=webrtc:8084

Review-Url: https://codereview.webrtc.org/2994123002
Cr-Commit-Position: refs/heads/master@{#19319}
This commit is contained in:
sakal
2017-08-11 01:03:13 -07:00
committed by Commit Bot
parent be910460e0
commit 42f1d6e23a
2 changed files with 2 additions and 2 deletions

View File

@ -64,7 +64,7 @@ def main():
_RunCommand([GENERATE_GRADLE_SCRIPT, '--output-directory', output_dir,
'--target', '//webrtc/examples:AppRTCMobile',
'--project-dir', project_dir,
'--use-gradle-process-resources', '--split-projects'])
'--use-gradle-process-resources', '--split-projects', '--canary'])
_RunCommand([GRADLEW_BIN, 'assembleDebug'], project_dir)
finally:
# Do not delete temporary directory if user specified it manually.