-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
58 lines (53 loc) · 2.24 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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.versions = [
'kotlin' : '1.6.21',
'coroutinesCore' : '1.3.8',
'coroutinesAndroid' : '1.3.6',
'koin_version' : '3.1.6',
'navigation_version' : '2.3.5',
'android_compile_sdk': 31,
'android_min_sdk' : 23,
'android_target_sdk' : 30
]
ext.deps = [
kotlin : [
'extensions' : "org.jetbrains.kotlin:kotlin-android-extensions:${versions.kotlin}",
'gradlePlugin': "org.jetbrains.kotlin:kotlin-gradle-plugin:${versions.kotlin}",
'stdlib' : "org.jetbrains.kotlin:kotlin-stdlib:${versions.kotlin}"
],
coroutines: [
'core' : "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.coroutinesCore}",
'android': "org.jetbrains.kotlinx:kotlinx-coroutines-android:${versions.coroutinesAndroid}"
],
ui : [
'material': "com.google.android.material:material:1.6.1"
],
network : [
'retrofit': "com.squareup.retrofit2:retrofit:2.9.0",
'moshi' : "com.squareup.retrofit2:converter-moshi:2.9.0",
'logging' : "com.squareup.okhttp3:logging-interceptor:4.9.2",
],
androidx : [
'appcompat' : "androidx.appcompat:appcompat:1.3.1",
'pagination': "androidx.paging:paging-runtime:2.1.2"
],
image : [
'easy_image': 'com.github.jkwiecien:EasyImage:3.2.0',
'compressor': 'id.zelory:compressor:3.0.1'
]
]
repositories {
maven { url 'https://www.jitpack.io' }
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.1.3'
classpath 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.7.0'
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:${versions.navigation_version}"
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}