-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathbuild.gradle
58 lines (47 loc) · 1.33 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
apply from: 'build-modularization.gradle'
apply from: 'build-dependencies.gradle'
buildscript {
ext.kotlin_version = '1.3.50'
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.5.0'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50'
classpath 'com.google.gms:google-services:4.3.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
allprojects {
repositories {
google()
jcenter()
}
}
subprojects {
afterEvaluate { project ->
if (project.hasProperty('android')) {
android {
buildToolsVersion buildTools
compileSdkVersion compileSdk
defaultConfig {
minSdkVersion minSdk
targetSdkVersion targetSdk
testInstrumentationRunner testInstrumentationRunner
}
compileOptions {
sourceCompatibility javaVersion
targetCompatibility javaVersion
}
dataBinding { enabled = true }
lintOptions {
abortOnError false
}
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}