chore(build): add mock shared preference dependency
Signed-off-by: SphericalKat <amolele@gmail.com>
This commit is contained in:
parent
285bf9d929
commit
f377510afb
3 changed files with 3 additions and 0 deletions
|
@ -106,5 +106,6 @@ dependencies {
|
|||
androidTestImplementation(libs.bundles.testDependencies)
|
||||
androidTestImplementation(libs.bundles.androidTestDependencies)
|
||||
testImplementation(libs.testing.robolectric)
|
||||
testImplementation(libs.testing.sharedPrefsMock)
|
||||
testImplementation(libs.bundles.testDependencies)
|
||||
}
|
||||
|
|
|
@ -45,6 +45,7 @@ internal fun Project.configureForAllProjects() {
|
|||
content {
|
||||
includeModule("com.github.haroldadmin", "WhatTheStack")
|
||||
includeModule("com.github.open-keychain.open-keychain", "sshauthentication-api")
|
||||
includeModule("com.github.IvanShafran", "shared-preferences-mock")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -76,6 +76,7 @@ thirdparty-nonfree-googlePlayAuthApiPhone = "com.google.android.gms:play-service
|
|||
testing-junit = "junit:junit:4.13.2"
|
||||
testing-kotlintest-junit = { module = "org.jetbrains.kotlin:kotlin-test-junit", version.ref = "kotlin" }
|
||||
testing-robolectric = "org.robolectric:robolectric:4.6-alpha-1"
|
||||
testing-sharedPrefsMock = "com.github.IvanShafran:shared-preferences-mock:1.0"
|
||||
androidx-testing-rules = { module = "androidx.test:rules", version.ref="androidx_test" }
|
||||
androidx-testing-runner = { module = "androidx.test:runner", version.ref="androidx_test" }
|
||||
kotlin-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "coroutines" }
|
||||
|
|
Loading…
Reference in a new issue