gradle 强制刷新缓存
在使用gradle build后如果报错了
1  | Could not resolve all files for configuration ':compileClasspath'.  | 
即便你在把jar上传到正确的位置也不能下载,使用下面参数
1  | gradle build --refresh-dependencies  | 
在使用gradle build后如果报错了
1  | Could not resolve all files for configuration ':compileClasspath'.  | 
即便你在把jar上传到正确的位置也不能下载,使用下面参数
1  | gradle build --refresh-dependencies  |