-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
executable file
·133 lines (98 loc) · 2.58 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
buildscript {
ext {
//Annotation
annotation = '1.5.0'
//AppCompat
appCompat = '1.6.0'
//Coil
coil = '2.2.2'
//Compose
activity = '1.6.1'
compiler = '1.4.0'
composeCore = '1.4.0-alpha05'
//Coroutines
coroutines = '1.6.4'
//DataStore
dataStore = '1.1.0-alpha01'
//Quality checking
//Detekt
detektVersion = '1.21.0'
//Ktlint
ktlintVersion = '0.46.1'
ktlintPluginVersion = '10.3.0'
//Gradle
gradleVersion = '7.4.1'
//Koin
koin = '3.3.2'
//Kotlin
kotlin = '1.8.0'
//KSP
ksp = '1.8.0-1.0.8'
//Ktx
ktxCore = '1.9.0'
//LeakCanary
leakCanary = '2.10'
//Lifecycle
lifecycle = '2.5.1'
//Material design
materialDesign = '1.8.0'
//OkHttp
okHttp = '5.0.0-alpha.11'
//Protobuf
protobufPlugin = '0.8.15'
protobufVersion = '4.0.0-rc-2'
//Retrofit
retrofit = '2.9.0'
serializationConverter = '0.8.0'
//Room
room = '2.5.0'
//Serialization
serialization = '1.4.1'
//Timber
timber = '5.0.1'
//Views/ViewGroups
//ConstraintLayout
constraintLayout = '2.1.4'
//RecyclerView
recyclerView = '1.2.1'
//SwipeRefreshLayout
swipeRefreshLayout = '1.2.0-alpha01'
//Test dependency versions
archTest = '2.1.0'
espresso = '3.5.1'
jacocoVersion = '0.8.8'
//JUnit
junit = '4.13.2'
junitAndroidX = '1.1.5'
junit5 = '5.9.2'
kotest = '5.5.4'
testCore = '1.5.0'
//Others
apiUrl = "\"https://api.github.com/\""
sharedTestCodePath = "src/sharedTest/java"
toolsPath = "$project.projectDir/tools/"
}
dependencies {
classpath "com.android.tools.build:gradle:$gradleVersion"
classpath "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:$ksp"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin"
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin"
}
repositories {
google()
mavenCentral()
}
}
plugins {
id "io.gitlab.arturbosch.detekt" version "$detektVersion"
id "org.jlleitschuh.gradle.ktlint" version "$ktlintPluginVersion"
}
allprojects {
repositories {
google()
mavenCentral()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}