-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbase-module.gradle
63 lines (51 loc) · 1.81 KB
/
base-module.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
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'kotlin-parcelize'
android {
compileSdkVersion libs.versions.android.compileSdk.get().toInteger()
defaultConfig {
minSdk libs.versions.android.minSdk.get().toInteger()
targetSdk libs.versions.android.targetSdk.get().toInteger()
versionCode libs.versions.app.versionCode.get().toInteger()
versionName libs.versions.app.versionName.get()
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles "consumer-rules.pro"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
compileOptions {
coreLibraryDesugaringEnabled true
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = '17'
}
kapt {
correctErrorTypes = true
}
}
dependencies {
implementation(libs.dagger.hilt)
kapt(libs.dagger.hilt.compiler)
implementation(libs.timber)
testImplementation(libs.junit4)
testImplementation(libs.junit.android.ext)
testImplementation(libs.truth)
testImplementation(libs.coroutines.test)
testImplementation(libs.turbine)
testImplementation(libs.compose.ui.test)
androidTestImplementation(libs.junit4)
androidTestImplementation(libs.junit.android.ext)
androidTestImplementation(libs.truth)
androidTestImplementation(libs.coroutines.test)
androidTestImplementation(libs.turbine)
androidTestImplementation(libs.compose.ui.test)
androidTestImplementation(libs.hilt.testing)
// Dependency required for API desugaring.
coreLibraryDesugaring(libs.desugar.jdk.libs.nio)
}