feat: 网络请求增加内存缓存,修改MainService为mvvm模式

This commit is contained in:
2026-05-08 09:32:30 +08:00
parent f42d63e93c
commit c7851a8a64
16 changed files with 541 additions and 1600 deletions

View File

@@ -4,10 +4,10 @@ buildscript {
repositories {
google()
// mavenCentral()
maven { url "https://jitpack.io" }
maven { url 'https://jitpack.io' }
maven { url 'https://developer.huawei.com/repo/' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url "https://maven.aliyun.com/repository/jcenter" }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
}
@@ -29,10 +29,12 @@ allprojects {
repositories {
google()
// mavenCentral()
maven { url "https://jitpack.io" }
maven { url 'https://jitpack.io' }
maven { url 'https://developer.huawei.com/repo/' }
maven { url 'https://maven.aliyun.com/repository/central/' }
maven { url 'https://maven.aliyun.com/repository/public/' }
maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/public' }
maven { url 'https://maven.aliyun.com/repository/google' }
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {