Skip to content

Commit f2bdb4e

Browse files
committed
bulid 설정 - 계측 테스트에 kotlinx-coroutines-test 추가
1. 계측 테스트에 사용할 kotlinx-coroutines-test 추가 2. 해당 라이브러리 적용하면서 META 중첩 에러 처리 추가
1 parent 267270a commit f2bdb4e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/build.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ android {
3030
testOptions.unitTests {
3131
includeAndroidResources = true
3232
}
33+
34+
packagingOptions {
35+
pickFirst 'META-INF/AL2.0'
36+
pickFirst 'META-INF/LGPL2.1'
37+
}
3338
}
3439

3540
dependencies {
@@ -70,6 +75,7 @@ dependencies {
7075
// AndroidX Test - Instrumented testing
7176
androidTestImplementation "androidx.test.ext:junit:$androidXTestExtKotlinRunnerVersion"
7277
androidTestImplementation "androidx.test.espresso:espresso-core:$espressoVersion"
78+
androidTestImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:$coroutinesVersion"
7379

7480
// Kotlin
7581
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlinVersion"

0 commit comments

Comments
 (0)