Gradle 依赖最新版本不生效的问题 Posted on 2017-09-27 Edited on 2023-03-17 In android Views: //主要是配置这个,更改gradle的默认缓存策略configurations.all { resolutionStrategy.cacheChangingModulesFor 0, 'seconds' resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'}dependencies { compile group:"xxx" ,name:"xxx",version:"latest.integration"}