-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
114 lines (95 loc) · 4.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
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
buildscript {
ext {
//Kotlin
kotlin_version = '1.6.10'
serializtion_version = '1.3.2'
coroutines_version = '1.6.0-native-mt'
//compose
compose_version = '1.1.1'
compose_material_veriosn = '1.0.0-alpha16'
activity_compose_version = "1.5.1"
//Architecture Components
ktx_version = '1.8.0'
lifecycle_version = '2.5.1'
//Retrofit
retrofit_version = '2.9.0'
retrofitCoroutins_version = "0.9.2"
okhttpLoggingInterceptorVersion = '4.9.3'
koin_version = "3.2.0"
data_store_verison = "1.0.0"
//Testing
mockito_core_version = "4.5.1"
dexmaker_mockito_version = "2.28.1"
espressoVersion = '3.4.0'
androidXTestExtKotlinRunnerVersion = '1.1.3'
junitVersion = '4.13.2'
androidXTestCoreVersion = '1.4.0'
hamcrestVersion = '2.2'
robolectricVersion = '4.8.1'
archTestingVersion = '2.1.0'
compose_image_version = '1.6.1'
kt = [
core : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version",
serialization: "org.jetbrains.kotlinx:kotlinx-serialization-json:$serializtion_version",
ktx : "androidx.core:core-ktx:$ktx_version",
ktx_test : "androidx.test:core-ktx:$androidXTestCoreVersion"
]
coroutines = [
core : "org.jetbrains.kotlinx:kotlinx-coroutines-core:$coroutines_version",
android: "org.jetbrains.kotlinx:kotlinx-coroutines-android:$coroutines_version",
testing: "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutines_version",
]
compose = [
ui : "androidx.compose.ui:ui:$compose_version",
material : "androidx.compose.material3:material3:$compose_material_veriosn",
preview : "androidx.compose.ui:ui-tooling-preview:$compose_version",
activity : "androidx.activity:activity-compose:$activity_compose_version",
android_ui_junit: "androidx.compose.ui:ui-test-junit4:$compose_version",
ui_tooling : "androidx.compose.ui:ui-tooling:$compose_version",
ui_test_manifest: "androidx.compose.ui:test-manifest:$compose_version",
glide : "com.github.skydoves:landscapist-coil:$compose_image_version",
livedata: "androidx.compose.runtime:runtime-livedata:1.2.1"
]
lifecycle = [
viewmodel: "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycle_version",
runtime : "androidx.lifecycle:lifecycle-runtime-ktx:$lifecycle_version",
livedata : "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycle_version"
]
retrofit = [
core : "com.squareup.retrofit2:retrofit:$retrofit_version",
converter : "com.squareup.retrofit2:converter-gson:$retrofit_version",
interceptor: "com.squareup.okhttp3:logging-interceptor:$okhttpLoggingInterceptorVersion",
coroutines : "com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:$retrofitCoroutins_version"
]
koin = [
android: "io.insert-koin:koin-android:$koin_version",
compose: "io.insert-koin:koin-androidx-compose:$koin_version"
]
tests = [
powermock_junit4 : 'org.powermock:powermock-module-junit4:2.0.9',
powermock_mockito: 'org.powermock:powermock-api-mockito2:2.0.9',
mock_server : "com.squareup.okhttp3:mockwebserver:4.9.3",
truth : 'androidx.test.ext:truth:1.4.0',
junit : "junit:junit:$junitVersion",
ext_junit : "androidx.test.ext:junit:$androidXTestExtKotlinRunnerVersion",
espresso_core : "androidx.test.espresso:espresso-core:$espressoVersion",
mockito : "org.mockito:mockito-core:$mockito_core_version",
hamcrest : "org.hamcrest:hamcrest:$hamcrestVersion",
robolectric : "org.robolectric:robolectric:$robolectricVersion",
arch_core_testing: "androidx.arch.core:core-testing:$archTestingVersion",
dexmaker : "com.linkedin.dexmaker:dexmaker-mockito:$dexmaker_mockito_version",
espresso_contrib : "androidx.test.espresso:espresso-contrib:$espressoVersion",
]
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
plugins {
id 'com.android.application' version '7.2.1' apply false
id 'com.android.library' version '7.2.1' apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}