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:
@ -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.
|
||||
|
||||
Reference in New Issue
Block a user