fix(libgpsrelaysentinel): 对齐 minSdk 与 Java 编译配置

- minSdkVersion 21 -> 26,与 gpsrelaysentinel 主模块及 API 26~30 要求一致
- 新增 compileOptions 设置 Java 7 编译,与项目 Java 语法规范统一
This commit is contained in:
2026-05-07 15:10:09 +08:00
parent 89f96a7b99
commit 498372c914

View File

@@ -9,7 +9,7 @@ android {
buildToolsVersion "30.0.3" buildToolsVersion "30.0.3"
defaultConfig { defaultConfig {
minSdkVersion 21 minSdkVersion 26
targetSdkVersion 30 targetSdkVersion 30
} }
buildTypes { buildTypes {
@@ -18,6 +18,11 @@ android {
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
} }
} }
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
} }
dependencies { dependencies {