forked from KwaiAppTeam/KOOM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
63 lines (59 loc) · 2.22 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
59
60
61
62
63
buildscript {
ext.versions = [
'compileSdkVersion': 30,
'buildToolsVersion': '30.0.1',
'minSdkVersion' : 18,
'targetSdkVersion' : 26,
'kotlin' : '1.3.50',
]
ext.deps = [
gson : 'com.google.code.gson:gson:2.8.2',
androidGradlePlugin: "com.android.tools.build:gradle:3.5.2",
androidx : [
annotation : 'androidx.annotation:annotation:1.0.2',
appcompat : 'androidx.appcompat:appcompat:1.1.0',
core : 'androidx.core:core:1.0.1',
fragment : 'androidx.fragment:fragment:1.0.0',
constraintlayout: 'androidx.constraintlayout:constraintlayout:1.1.3',
test : [
core : 'androidx.test:core:1.0.0',
espresso: 'androidx.test.espresso:espresso-core:3.2.0',
ext : 'androidx.test.ext:junit:1.1.1',
rules : 'androidx.test:rules:1.1.0',
runner : 'androidx.test:runner:1.1.0',
],
],
material : 'com.google.android.material:material:1.1.0',
android_support : 'com.android.support:support-v4:28.0.0',
junit : 'junit:junit:4.12',
kotlin : [
gradlePlugin: "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
stdlib : "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
],
okio : 'com.squareup.okio:okio:2.2.2',
okio_1x : 'com.squareup.okio:okio:1.0.0',
]
repositories {
maven { url 'https://plugins.gradle.org/m2/' }
jcenter()
mavenCentral()
google()
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'https://maven.google.com' }
}
dependencies {
classpath 'com.novoda:bintray-release:0.9'
classpath deps.kotlin.gradlePlugin
classpath deps.androidGradlePlugin
}
}
allprojects {
repositories {
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}