Questions tagged [resolutionstrategy]
3 questions
2
votes
0 answers
Gradle resolution strategy cacheDynamicVersionsFor isn't working
I want to push Gradle to redownload my SNAPSHOT dependencies every time.
It's possible to do it via --refresh-dependencies.
But I want to do it programmatically in a next way:
configurations.all {
resolutionStrategy.cacheDynamicVersionsFor 0,…

Max
- 766
- 9
- 19
1
vote
0 answers
how to force to use the com.google.android.gms:play-services:15.0.0
having an app which has dependency on a lib, that lib has dependency:
api "com.google.android.gms:play-services:11.0.2"
in this app it wants to use com.google.android.gms:play-services-maps:15.0.1,
so it did these is gradle:
implementation…

lannyf
- 9,865
- 12
- 70
- 152
0
votes
1 answer
Android dependency 'io.reactivex.rxjava2:rxandroid' has different version
When sync project with gradle files, Android Studio shows this error:
Android dependency 'io.reactivex.rxjava2:rxandroid' has different version for the compile (2.0.1) and runtime (2.1.0) classpath. You should manually set the same version via…

Sami Issa
- 1,695
- 1
- 18
- 29