29 lines
857 B
Groovy
29 lines
857 B
Groovy
plugins {
|
|
id 'com.android.library'
|
|
id 'kotlin-android'
|
|
}
|
|
|
|
apply from: "$rootProject.projectDir/gradle/android-library.gradle"
|
|
|
|
android {
|
|
namespace 'com.duckduckgo.common.test'
|
|
}
|
|
|
|
dependencies {
|
|
|
|
// Dependencies for this Module
|
|
implementation project(path: ':common-utils')
|
|
|
|
implementation "io.reactivex.rxjava2:rxjava:_"
|
|
implementation "io.reactivex.rxjava2:rxandroid:_"
|
|
implementation Square.okHttp3.okHttp
|
|
implementation KotlinX.coroutines.core
|
|
// api because TestDispatcher is in the CoroutineTestRule public API
|
|
api (KotlinX.coroutines.test) {
|
|
// https://github.com/Kotlin/kotlinx.coroutines/issues/2023
|
|
// conflicts with mockito due to direct inclusion of byte buddy
|
|
exclude group: "org.jetbrains.kotlinx", module: "kotlinx-coroutines-debug"
|
|
}
|
|
implementation Testing.junit4
|
|
|
|
} |