Make openpgp-api module available for tests in app modules

This commit is contained in:
cketti 2020-06-23 16:29:46 +02:00
parent 907106bfdc
commit fbaa4ce037
2 changed files with 6 additions and 0 deletions

View file

@ -29,6 +29,9 @@ dependencies {
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:${versions.androidxLifecycle}"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:${versions.androidxLifecycle}"
// Required for DependencyInjectionTest to be able to resolve OpenPgpApiManager
testImplementation project(':plugins:openpgp-api-lib:openpgp-api')
testImplementation "org.robolectric:robolectric:${versions.robolectric}"
testImplementation "junit:junit:${versions.junit}"
testImplementation "com.google.truth:truth:${versions.truth}"

View file

@ -26,6 +26,9 @@ dependencies {
debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.3'
// Required for DependencyInjectionTest to be able to resolve OpenPgpApiManager
testImplementation project(':plugins:openpgp-api-lib:openpgp-api')
testImplementation "org.robolectric:robolectric:${versions.robolectric}"
testImplementation "junit:junit:${versions.junit}"
testImplementation "com.google.truth:truth:${versions.truth}"