- gradle中添加配置:
configurations.all {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
}
- 依赖项添加配置:
changing:true
:
implementation group: "group", name: "name", version: "version", changing: true
网友评论