0%

Gradle 依赖最新版本不生效的问题

//主要是配置这个,更改gradle的默认缓存策略

configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
}

dependencies {
compile group:"xxx" ,name:"xxx",version:"latest.integration"
}