Commit d24f37cd by Frieder Bluemle

Check if exoplayerModulePrefix is set

parent 2555fb36
Showing with 4 additions and 0 deletions
...@@ -61,9 +61,13 @@ dependencies { ...@@ -61,9 +61,13 @@ dependencies {
androidTestImplementation 'com.google.guava:guava:' + guavaVersion androidTestImplementation 'com.google.guava:guava:' + guavaVersion
androidTestImplementation 'com.linkedin.dexmaker:dexmaker:' + dexmakerVersion androidTestImplementation 'com.linkedin.dexmaker:dexmaker:' + dexmakerVersion
androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:' + dexmakerVersion androidTestImplementation 'com.linkedin.dexmaker:dexmaker-mockito:' + dexmakerVersion
if (gradle.ext.has('exoplayerModulePrefix')) {
androidTestImplementation(project(modulePrefix + 'testutils')) { androidTestImplementation(project(modulePrefix + 'testutils')) {
exclude module: gradle.ext.exoplayerModulePrefix + 'library-core' exclude module: gradle.ext.exoplayerModulePrefix + 'library-core'
} }
} else {
androidTestImplementation project(modulePrefix + 'testutils')
}
testImplementation 'com.google.guava:guava:' + guavaVersion testImplementation 'com.google.guava:guava:' + guavaVersion
testImplementation 'org.robolectric:robolectric:' + robolectricVersion testImplementation 'org.robolectric:robolectric:' + robolectricVersion
testImplementation project(modulePrefix + 'testutils') testImplementation project(modulePrefix + 'testutils')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment