Fix test dependencies build error

This commit is contained in:
Shinokuni 2020-10-07 22:10:44 +02:00
parent c26a2da6a7
commit 343562657b
2 changed files with 14 additions and 3 deletions

View File

@ -41,8 +41,13 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api project(':db')
implementation project(':db')
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test:rules:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:4.9.0'
implementation 'com.gitlab.mvysny.konsume-xml:konsume-xml:0.12'

View File

@ -55,11 +55,17 @@ android {
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
api project(':api')
api project(':db')
implementation project(':api')
implementation project(':db')
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.0.10'
testImplementation 'junit:junit:4.13'
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
androidTestImplementation 'androidx.test:runner:1.3.0'
androidTestImplementation 'androidx.test:rules:1.3.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
implementation 'com.google.android.material:material:1.2.1'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.palette:palette:1.0.0'