增加电池temp_avg参数,UI端与数据库端同步实现更新

This commit is contained in:
2026-09-16 22:32:46 +08:00
parent 75e9e85848
commit 1f94114d26
7 changed files with 740 additions and 121 deletions
+6 -5
View File
@@ -1,6 +1,5 @@
plugins {
id("com.android.application")
id("kotlin-android")
id("dev.flutter.flutter-gradle-plugin")
}
@@ -14,10 +13,6 @@ android {
targetCompatibility = JavaVersion.VERSION_17
}
kotlinOptions {
jvmTarget = "17"
}
defaultConfig {
applicationId = "com.lxh.battery_health"
minSdk = flutter.minSdkVersion
@@ -64,6 +59,12 @@ android {
}
}
kotlin { // ← 新增块
compilerOptions {
jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
}
}
flutter {
source = "../.."
}