[build.gradle] 抑制 Java 7 编译过时警告

- 在 subprojects 全局配置中添加 -Xlint:-options 编译器参数
- 消除 source value 7 is obsolete 和 target value 7 is obsolete 警告
- build.properties 由构建系统自动更新
This commit is contained in:
BigPickle
2026-07-21 08:40:42 +08:00
parent 5d49185752
commit 231de80efa
3 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Tue Jul 21 00:33:55 GMT 2026
#Tue Jul 21 08:39:13 HKT 2026
stageCount=0
libraryProject=libappbase
baseVersion=15.21
publishVersion=15.21.0
buildCount=2
buildCount=6
baseBetaVersion=15.21.1
+1
View File
@@ -89,6 +89,7 @@ allprojects {
subprojects {
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.compilerArgs << '-Xlint:-options'
}
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Tue Jul 21 00:33:55 GMT 2026
#Tue Jul 21 08:39:13 HKT 2026
stageCount=0
libraryProject=libappbase
baseVersion=15.21
publishVersion=15.21.0
buildCount=2
buildCount=6
baseBetaVersion=15.21.1