-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle
42 lines (38 loc) · 1.17 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlinVersion = '1.4.31'
repositories {
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/google' }
google()
mavenCentral()
maven { url 'https://repo1.maven.org/maven2/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:4.0.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://jitpack.io' }
maven { url 'https://repo1.maven.org/maven2/' }
mavenCentral()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
androidXVersion = '1.0.0'
materialVersion = '1.2.0-alpha04'
roomVersion = '2.2.3'
glideVersion = '4.11.0'
okhttpVersion = '4.5.0'
coroutinesVersion = '1.4.3'
appCompatVersion = '1.1.0'
archLifecycleVersion = '2.3.0'
}