refactor(gradle): 强制项目使用Java 7语法并统一API适配范围
- build.gradle: subprojects Java版本从11降级为1.7 - libwinboll/build.gradle: minSdkVersion从21统一为26 - build.properties: 编译计数器自动递增(buildCount: 23→24)
This commit is contained in:
@@ -96,8 +96,8 @@ allprojects {
|
||||
// 1. 对纯 Java 模块的 JavaCompile 任务配置(升级为 Java 11)
|
||||
tasks.withType(JavaCompile) {
|
||||
options.compilerArgs << "-parameters"
|
||||
sourceCompatibility = JavaVersion.VERSION_11
|
||||
targetCompatibility = JavaVersion.VERSION_11
|
||||
sourceCompatibility = JavaVersion.VERSION_1_7
|
||||
targetCompatibility = JavaVersion.VERSION_1_7
|
||||
// 可选:确保编码一致
|
||||
options.encoding = "UTF-8"
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@ android {
|
||||
buildToolsVersion "30.0.3"
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
minSdkVersion 26
|
||||
targetSdkVersion 30
|
||||
}
|
||||
buildTypes {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Sat May 09 13:15:05 GMT 2026
|
||||
#Sat May 09 21:21:56 CST 2026
|
||||
stageCount=27
|
||||
libraryProject=libwinboll
|
||||
baseVersion=15.11
|
||||
publishVersion=15.11.26
|
||||
buildCount=23
|
||||
buildCount=24
|
||||
baseBetaVersion=15.11.27
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#Created by .winboll/winboll_app_build.gradle
|
||||
#Sat May 09 13:15:05 GMT 2026
|
||||
#Sat May 09 21:21:56 CST 2026
|
||||
stageCount=27
|
||||
libraryProject=libwinboll
|
||||
baseVersion=15.11
|
||||
publishVersion=15.11.26
|
||||
buildCount=23
|
||||
buildCount=24
|
||||
baseBetaVersion=15.11.27
|
||||
|
||||
Reference in New Issue
Block a user