This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Workaround for Multidex bug in gradle-android-plugin | |
// Replace Multidex dependency with some dummy dependency to avoid dex problems | |
// @see https://code.google.com/p/android/issues/detail?id=194609 | |
project.getConfigurations().all { config -> | |
if (config.name.contains("AndroidTest")) { | |
config.resolutionStrategy.eachDependency { DependencyResolveDetails details -> | |
if (details.requested.name == "multidex") { | |
details.useTarget("de.felixschulze.teamcity:teamcity-status-message-helper:1.2") | |
} | |
} |
OlderNewer