Gradle配置。都不明确

Gradle配置。都不明确

问题描述:

我使用android studio和gradle来构建我的项目。
因为我发布了gradle插件12,所以我在build.gradle中有一个警告。
Gradle不希望强制检查依赖关系更新。

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.

这是我的build.gradle警告行:

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"

这是我刚刚在这里报告的IntelliJ(Android Studio)Gradle插件中的一个错误: https://youtrack.jetbrains.com/issue/IDEA-141744
警告是错误的,一切都应该按预期正常工作。

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.