Check if exoplayerModulePrefix is set

This commit is contained in:
Frieder Bluemle 2020-03-27 00:53:01 -07:00
parent 2555fb36b4
commit d24f37cdd7
No known key found for this signature in database
GPG Key ID: EEAAFC3A01B5FFC6

View File

@ -61,9 +61,13 @@ dependencies {
androidTestImplementation 'com.google.guava:guava:' + guavaVersion
androidTestImplementation 'com.linkedin.dexmaker:dexmaker:' + dexmakerVersion
androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:' + dexmakerVersion
if (gradle.ext.has('exoplayerModulePrefix')) {
androidTestImplementation(project(modulePrefix + 'testutils')) {
exclude module: gradle.ext.exoplayerModulePrefix + 'library-core'
}
} else {
androidTestImplementation project(modulePrefix + 'testutils')
}
testImplementation 'com.google.guava:guava:' + guavaVersion
testImplementation 'org.robolectric:robolectric:' + robolectricVersion
testImplementation project(modulePrefix + 'testutils')