blob: dcd6e864664e661aaf45811dc818061d79369246 [file] [log] [blame]
Alexander Dorokhine146e4a62016-11-09 18:34:39 -08001// Top-level build file where you can add configuration options common to all sub-projects/modules.
Ang Li4d026842017-12-15 21:12:33 -08002// For android studio 2.3 and plugin 2.3.3
Alexander Dorokhine146e4a62016-11-09 18:34:39 -08003
4buildscript {
5 repositories {
Xianyuan Jiab1729102021-10-06 11:59:07 -07006 mavenCentral()
Ang Li4d026842017-12-15 21:12:33 -08007 google()
Alexander Dorokhine146e4a62016-11-09 18:34:39 -08008 }
9 dependencies {
Xianyuan Jiab1729102021-10-06 11:59:07 -070010 classpath 'com.android.tools.build:gradle:7.0.2'
Alexander Dorokhine146e4a62016-11-09 18:34:39 -080011
12 // NOTE: Do not place your application dependencies here; they belong
13 // in the individual module build.gradle files
14 }
15}
16
17allprojects {
18 repositories {
Xianyuan Jiab1729102021-10-06 11:59:07 -070019 mavenCentral()
Ang Li4d026842017-12-15 21:12:33 -080020 google()
Alexander Dorokhine146e4a62016-11-09 18:34:39 -080021 }
David Kao2d15a982017-02-22 13:25:16 -080022 gradle.projectsEvaluated {
23 tasks.withType(JavaCompile) {
24 options.compilerArgs << "-Xlint:all"
25 }
26 }
Alexander Dorokhine146e4a62016-11-09 18:34:39 -080027}
28