-
-
Notifications
You must be signed in to change notification settings - Fork 81
/
build.gradle.kts
58 lines (48 loc) · 1.62 KB
/
build.gradle.kts
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
plugins {
id("com.android.library")
id("kotlin-android")
id("kotlin-kapt")
}
android {
compileSdk = Versions.COMPILE_SDK
defaultConfig {
minSdk = Versions.MIN_SDK
targetSdk = Versions.TARGET_SDK
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("consumer-rules.pro")
}
buildTypes {
getByName("debug") {
isTestCoverageEnabled = project.hasProperty("coverage")
}
getByName("release") {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
dependencies {
implementation(Libraries.kotlin_stdlib)
implementation(Libraries.androidx_core_ktx)
api(platform(Libraries.firebase_bom))
api(Libraries.firebase_analytics_ktx)
api(Libraries.firebase_crashlytics)
implementation(Libraries.dagger)
kapt(Libraries.dagger_compiler)
implementation(Libraries.dagger_android_support)
kapt(Libraries.dagger_android_processor)
implementation(Libraries.hilt)
kapt(Libraries.hilt_compiler)
kapt(Libraries.hilt_android_compiler)
testImplementation(TestLibraries.junit)
testImplementation(TestLibraries.mockito_kotlin)
testImplementation(TestLibraries.robolectric)
testImplementation(TestLibraries.truth)
}
}