forked from kasem-sm/SlimeKT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
87 lines (69 loc) · 2.22 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
plugins {
id 'com.android.application'
}
apply {
from("$rootDir/gradle/common.gradle")
}
android {
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
buildFeatures {
kotlinOptions.freeCompilerArgs += "-Xopt-in=androidx.compose.material3.ExperimentalMaterial3Api"
kotlinOptions.freeCompilerArgs += "-Xopt-in=androidx.compose.animation.ExperimentalAnimationApi"
kotlinOptions.freeCompilerArgs += "-Xopt-in=androidx.compose.ui.ExperimentalComposeUiApi"
}
}
apply plugin: 'kotlin-kapt'
apply plugin: 'dagger.hilt.android.plugin'
android {
defaultConfig {
versionCode = 1
versionName = "1.0"
applicationId "kasem.sm.slime"
}
}
provideAndroidXWorkerDeps(this)
provideHiltDeps(this)
provideKtorAndroidDeps(this)
dependencies {
implementation(project(":core"))
implementation(project(":common-ui"))
implementation(project(":task-api"))
implementation(project(":task-impl"))
implementation(project(":auth-impl"))
implementation(project(":auth-api"))
implementation(project(':database'))
// Article
implementation(project(":features:article:widget"))
implementation("androidx.security:security-crypto:1.1.0-alpha03")
implementation AndroidX.core
implementation Compose.activity
implementation Coil.core
implementation("com.jakewharton.timber:timber:5.0.1")
implementation Coil.core
implementation Accompanist.navigationMaterial
implementation Accompanist.navigationAnimation
implementation Hilt.navigation
implementation Compose.ui
implementation Compose.material
implementation Compose.material3
// Ui Dep
implementation(project(":screen:ui-profile"))
implementation(project(":screen:ui-auth"))
implementation(project(":screen:ui-article-list"))
implementation(project(":screen:ui-explore"))
implementation(project(":screen:ui-home"))
implementation(project(":screen:ui-article-detail"))
implementation(project(":screen:ui-subscribe-topic"))
implementation(project(":screen:ui-bookmarks"))
implementation Firebase.dynamicLink
implementation(project(":features:article:dynamic-links-handler"))
}
if (file("google-services.json").exists()) {
apply plugin: 'com.google.gms.google-services'
}