增加图片本地缓存

避免图片失效
This commit is contained in:
2023-02-18 19:08:21 +08:00
parent 22e8624f0b
commit c2ef779a72
4 changed files with 93 additions and 8 deletions

View File

@@ -14,3 +14,10 @@ repositories {
maven("https://maven.aliyun.com/repository/public")
mavenCentral()
}
val ktorVersion = "2.2.3"
dependencies {
implementation("io.ktor:ktor-client-core-jvm:$ktorVersion")
implementation("io.ktor:ktor-client-okhttp:$ktorVersion")
}