-
Notifications
You must be signed in to change notification settings - Fork 28
/
build.gradle
110 lines (93 loc) · 3.67 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
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'io.fabric'
apply plugin: 'kotlinx-serialization'
android {
compileSdkVersion 29
defaultConfig {
applicationId "spartons.com.prosmssenderapp"
minSdkVersion 22
targetSdkVersion 29
versionCode 2
versionName "1.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
}
buildTypes {
release {
multiDexEnabled true
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/main.kotlin_module'
exclude 'META-INF/library_release.kotlin_module'
exclude 'META-INF/atomicfu.kotlin_module'
}
compileOptions {
targetCompatibility = '1.8'
sourceCompatibility = '1.8'
}
kotlinOptions {
jvmTarget = "1.8"
}
androidExtensions {
experimental = true
}
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions.freeCompilerArgs += ["-Xuse-experimental=kotlin.Experimental"]
}
defaultConfig {
vectorDrawables.useSupportLibrary = true
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
// Crashlytics dependency
implementation('com.crashlytics.sdk.android:crashlytics:2.10.1') {
transitive = true
}
implementation('com.crashlytics.sdk.android:crashlytics-ndk:2.1.1@aar') {
transitive = true
}
// Kotlin library dependency
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
// Android support dependencies
implementation 'androidx.appcompat:appcompat:1.1.0'
implementation 'androidx.core:core-ktx:1.2.0-beta01'
implementation 'com.google.android.material:material:1.2.0-alpha01'
implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// Constraint layout dependency
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
// Timber dependency
implementation 'com.jakewharton.timber:timber:4.7.1'
// Kotlin coroutines dependencies
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.0'
implementation 'com.jakewharton.retrofit:retrofit2-kotlin-coroutines-adapter:0.9.2'
// kotlin based dependency injection koin
implementation 'org.koin:koin-androidx-viewmodel:2.0.1'
// MultiDex dependency
implementation 'com.android.support:multidex:1.0.3'
// ViewModel dependency
implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0-rc01'
implementation 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0-rc01'
// Material dialog dependency
implementation 'com.afollestad.material-dialogs:core:3.1.1'
implementation 'com.afollestad.material-dialogs:files:3.1.1'
implementation 'com.afollestad.material-dialogs:bottomsheets:3.1.1'
// WorkManager dependency
implementation 'androidx.work:work-runtime-ktx:2.2.0'
// Room architecture component dependencies
implementation 'androidx.room:room-runtime:2.2.1'
kapt 'androidx.room:room-compiler:2.2.1'
implementation 'androidx.room:room-ktx:2.2.1'
// Kotlinx Serialization
implementation 'org.jetbrains.kotlinx:kotlinx-serialization-runtime:0.13.0'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.3.0-alpha02'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0-alpha02'
}