1:修改页面,更换room变成kotlin,

2:在所有的跳转到WEBview的时候,使用Intent的方式
3:优化网络请求
This commit is contained in:
2025-09-26 14:32:35 +08:00
parent 2f06d60fec
commit a4caa9b078
51 changed files with 3692 additions and 2902 deletions

View File

@@ -3,8 +3,6 @@
// build.gradle (Project-level)
buildscript {
ext.kotlin_version = '1.9.24' // 根据你使用的 Kotlin 版本调整
repositories {
google()
mavenCentral()
@@ -15,7 +13,6 @@ buildscript {
dependencies {
classpath libs.gradle // 或你使用的 Android Gradle 插件版本
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// ✅ 添加 ARouter 插件依赖
classpath 'com.alibaba:arouter-register:1.0.2'
@@ -28,6 +25,14 @@ plugins {
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
}
subprojects {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).configureEach {
kotlinOptions {
jvmTarget = "11"
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}