-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
72 lines (61 loc) · 1.86 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
64
65
66
67
68
69
70
71
72
buildscript {
ext {
kotlinVersion = '1.3.71'
androidGradleVersion = '3.6.1'
coroutineVersion = '1.3.5'
// Google libraries
appCompatVersion = '1.1.0'
constraintLayoutVersion = '1.1.3'
materialComponentsVersion = '1.1.0'
roomVersion = '2.2.5'
lifecycleVersion = '2.2.0'
androidXCoreVersion = '2.1.0'
// Publishing
androidMavenGradleVersion = '2.1'
// Networking
gsonVersion = '2.8.6'
okhttp3Version = '3.12.10'
retrofitVersion = '2.6.4'
// Debug and quality control
detektVersion = '1.7.4'
dokkaVersion = '0.10.1'
ktLintVersion = '0.36.0'
ktLintGradleVersion = '9.2.1'
leakcanaryVersion = '2.2'
// Testing
junitGradlePluignVersion = '1.6.0.0'
junitVersion = '5.6.0'
mockkVersion = '1.9.3'
truthVersion = '1.0.1'
}
repositories {
jcenter()
google()
gradlePluginPortal()
}
dependencies {
classpath "com.android.tools.build:gradle:$androidGradleVersion"
classpath "com.github.dcendents:android-maven-gradle-plugin:$androidMavenGradleVersion"
classpath "de.mannodermaus.gradle.plugins:android-junit5:$junitGradlePluignVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:$dokkaVersion"
classpath "io.gitlab.arturbosch.detekt:detekt-gradle-plugin:$detektVersion"
classpath "org.jlleitschuh.gradle:ktlint-gradle:$ktLintGradleVersion"
}
}
allprojects {
version = VERSION_NAME
group = GROUP
repositories {
jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ext {
minSdkVersion = 16
targetSdkVersion = 29
compileSdkVersion = 29
}