-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
101 lines (90 loc) · 3.45 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
101 lines (90 loc) · 3.45 KB
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
plugins {
id(Plugins.ANDROID_APPLICATION)
kotlin(Plugins.KOTLIN_ANDROID)
kotlin(Plugins.KOTLIN_KAPT)
id(Plugins.HILT_LIBRARY)
id(Plugins.NAVIGATION_ARGS)
id("com.google.gms.google-services")
id("com.google.firebase.crashlytics")
id(Plugins.SERIALIZATION)
}
android {
namespace = "org.the_chance.user"
compileSdk = ConfigData.COMPILE_SDK_VERSION
defaultConfig {
applicationId = "org.the_chance.user"
minSdk = ConfigData.MIN_SDK_VERSION
targetSdk = ConfigData.TARGET_SDK_VERSION
versionCode = ConfigData.VERSION_CODE
versionName = ConfigData.VERSION_NAME
testInstrumentationRunner = ConfigData.TEST_INSTRUMENTATION_RUNNER
}
buildTypes {
getByName("release") {
signingConfig = signingConfigs.getByName("debug")
}
getByName(BuildType.RELEASE) {
isMinifyEnabled = BuildTypeRelease.isMinifyEnabled
proguardFiles("proguard-android-optimize.txt", "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = ConfigData.JAVA_VERSIONS_CODE
targetCompatibility = ConfigData.JAVA_VERSIONS_CODE
}
composeOptions {
kotlinCompilerExtensionVersion = rootProject.extra["compose_version"] as String
}
kotlinOptions {
jvmTarget = ConfigData.JAVA_VERSIONS_CODE.toString()
}
buildFeatures {
dataBinding = true
compose = true
}
}
dependencies {
implementation(project(BuildModules.DESIGN_SYSTEM))
implementation(project(BuildModules.CORE_DOMAIN))
implementation(project(BuildModules.CORE_DATA))
Dependencies.firebaseDependency.forEach { implementation(it) }
Dependencies.uiDependencies.forEach { implementation(it) }
Dependencies.composeDependency.forEach { implementation(it) }
Dependencies.ktorDependency.forEach { implementation(it) }
testImplementation(Dependencies.junitDependency)
Dependencies.androidTestDependencies.forEach { androidTestImplementation(it) }
implementation(platform(Dependencies.composePlatformBom))
androidTestImplementation(platform(Dependencies.composePlatformBomAndroidTest))
//Navigation
Dependencies.navigationDependencies.forEach { implementation(it) }
//Glide
implementation(Dependencies.glideDependency)
//Hilt
kapt(Dependencies.hiltCompiler)
implementation(Dependencies.hiltDependency)
//LiveData
Dependencies.liveDataDependencies.forEach { implementation(it) }
//retrofit
Dependencies.retrofitDependencies.forEach { implementation(it) }
//swipe
implementation(Dependencies.swipeDependency)
// coil
implementation(Dependencies.coilDependency)
//splash
implementation(Dependencies.splashDependency)
debugImplementation(Dependencies.composeUiDependency)
//navigation
implementation ("androidx.hilt:hilt-navigation-compose:1.0.0")
implementation ("androidx.navigation:navigation-compose:2.6.0")
// FCM notification
implementation("com.google.firebase:firebase-analytics-ktx")
implementation(platform("com.google.firebase:firebase-bom:32.2.2"))
implementation("com.google.firebase:firebase-messaging-ktx")
//paging
implementation(Dependencies.pagingCommon)
implementation(Dependencies.pagingRuntime)
implementation(Dependencies.pagingCompose)
//Permission
implementation("com.google.accompanist:accompanist-permissions:0.28.0")
androidTestImplementation ("com.google.truth:truth:1.1.4")
}