forked from d4rken-org/sdmaid-se
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
57 lines (46 loc) · 1.28 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
plugins {
id("com.android.library")
id("org.jetbrains.kotlin.android")
id("kotlin-android")
id("kotlin-kapt")
id("kotlin-parcelize")
}
apply(plugin = "dagger.hilt.android.plugin")
android {
namespace = "${ProjectConfig.packageName}.common.pkgs"
compileSdk = ProjectConfig.compileSdk
defaultConfig {
minSdk = ProjectConfig.minSdk
targetSdk = ProjectConfig.targetSdk
}
setupModuleBuildTypes()
buildFeatures {
viewBinding = true
}
setupCompileOptions()
setupKotlinOptions()
testOptions {
unitTests {
isIncludeAndroidResources = true
}
tasks.withType<Test> {
useJUnitPlatform()
setupTestLogging()
}
}
}
dependencies {
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:${Versions.Desugar.core}")
implementation(project(":app-common"))
implementation(project(":app-common-shell"))
implementation(project(":app-common-io"))
implementation(project(":app-common-root"))
addAndroidCore()
addDI()
addCoroutines()
addIO()
addTesting()
testImplementation(project(":app-common-test"))
testImplementation("org.robolectric:robolectric:4.9.1")
testImplementation("androidx.test.ext:junit:1.1.4")
}