-
-
Notifications
You must be signed in to change notification settings - Fork 471
/
Copy pathbuild.gradle.kts
58 lines (44 loc) · 1.4 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("org.jetbrains.kotlin.android")
id("kotlin-android")
id("com.google.devtools.ksp")
id("kotlin-kapt")
id("projectConfig")
}
android {
namespace = "${projectConfig.packageName}.common.test"
setupLibraryDefaults(projectConfig)
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"))
addAndroidCore()
addIO()
addSerialization()
implementation("junit:junit:4.13.2")
implementation("org.junit.vintage:junit-vintage-engine:5.8.2")
implementation("androidx.test:core-ktx:1.4.0")
implementation("io.mockk:mockk:1.12.4")
runtimeOnly("org.junit.jupiter:junit-jupiter-engine:5.8.2")
implementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
implementation("org.junit.jupiter:junit-jupiter-params:5.8.2")
implementation("io.kotest:kotest-runner-junit5:5.3.0")
implementation("io.kotest:kotest-assertions-core-jvm:5.3.0")
implementation("io.kotest:kotest-property-jvm:5.3.0")
}