Skip to content

Instantly share code, notes, and snippets.

@tomaslin
Created June 20, 2014 07:24
Show Gist options
  • Save tomaslin/0f9b07654c51b19b6089 to your computer and use it in GitHub Desktop.
Save tomaslin/0f9b07654c51b19b6089 to your computer and use it in GitHub Desktop.
force a dependency version
def rxJavaVersion = '0.16.1'
configurations.all {
resolutionStrategy {
eachDependency { DependencyResolveDetails details ->
if (details.requested.group == 'com.netflix.rxjava') {
details.useVersion rxJavaVersion
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment