chore(gpsrelaysentinel): 配置Java 7编译选项适配项目技术栈
- 为gpsrelaysentinel模块添加compileOptions配置 - 设置sourceCompatibility和targetCompatibility为Java 7 - 满足项目要求:Java文件使用Java 7语法 - 保持Gradle编译使用Java 11(根目录subprojects配置) - 保持安卓API适配范围26-30,compileSdkVersion 30 - 保持Gradle插件7.2.1版本
This commit is contained in:
@@ -47,6 +47,12 @@ android {
|
||||
jniLibs.srcDirs = ['libs'] // 若SO库放在libs目录下
|
||||
}
|
||||
}
|
||||
|
||||
// 确保 Java 7 兼容性
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_7
|
||||
targetCompatibility JavaVersion.VERSION_1_7
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Wed May 06 12:49:48 GMT 2026
|
||||
#Wed May 06 20:58:30 CST 2026
|
||||
stageCount=27
|
||||
libraryProject=
|
||||
baseVersion=15.11
|
||||
publishVersion=15.11.26
|
||||
buildCount=25
|
||||
buildCount=26
|
||||
baseBetaVersion=15.11.27
|
||||
|
||||
Reference in New Issue
Block a user