深色模式、首页设置页面和功能优化

This commit is contained in:
Developer
2026-04-02 07:06:55 +08:00
parent f0a62ed68b
commit 954d173329
88 changed files with 12157 additions and 7578 deletions

View File

@@ -42,3 +42,40 @@ android {
flutter {
source = "../.."
}
// 为所有依赖的模块设置统一的 JVM 目标版本
configurations.all {
resolutionStrategy {
eachDependency {
// 这里可以添加依赖解析策略
}
}
}
// 为所有任务设置统一的 JVM 目标版本
allprojects {
tasks.withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
}
}
}
// 强制所有模块使用相同的 JVM 版本
subprojects {
tasks.withType<JavaCompile> {
sourceCompatibility = "17"
targetCompatibility = "17"
}
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
kotlinOptions {
jvmTarget = "17"
}
}
}