tripple_v
tripple_v

Reputation: 510

Gradle configurations.all ambiguous

I use android studio and gradle to build my project. Since I've released gradle plugin 12, I have a warning in my build.gradle. Gradle does not want to force checking dependencies update any more.

This is my build.gradle warning lines :

configurations.all {
    // check for updates every build
    resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
}

The message is "Method call is ambiguous"

Upvotes: 31

Views: 7359

Answers (1)

Vampire
Vampire

Reputation: 38744

This is a bug in the IntelliJ (Android Studio) Gradle plugin that I just reported here: https://youtrack.jetbrains.com/issue/IDEA-141744. The warning is wrong and everything should work fine as expected.

Upvotes: 20

Related Questions