forked from orhanobut/logger
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
42 lines (37 loc) · 1.14 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
buildscript {
ext.kotlinVersion = "1.5.10"
repositories {
maven { url "https://maven.aliyun.com/repository/google" }
mavenCentral()
}
dependencies {
classpath "com.android.tools.build:gradle:4.2.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
mavenCentral()
maven { url "https://maven.aliyun.com/repository/public" }
maven { url "https://maven.aliyun.com/repository/google" }
maven { url "https://jitpack.io" }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
minSdkVersion = 8
targetSdkVersion = 30
compileSdkVersion = 30
buildToolsVersion = '30.0.3'
}
ext.deps = [
junit : 'junit:junit:4.12',
truth : 'com.google.truth:truth:1.1.3',
robolectric : 'org.robolectric:robolectric:4.5.1',
mockito : "org.mockito:mockito-core:3.9.0",
json : "org.json:json:20210307",
supportAnnotations: 'androidx.annotation:annotation:1.2.0',
kotlin : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"
]