mirror of
https://gitea.winboll.cc/Studio/WinBoLL.git
synced 2026-08-14 13:37:11 +08:00
[build.gradle] 抑制 Java 7 编译过时警告
- 在 subprojects 全局配置中添加 -Xlint:-options 编译器参数 - 消除 source value 7 is obsolete 和 target value 7 is obsolete 警告 - build.properties 由构建系统自动更新
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#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
|
stageCount=0
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.21
|
baseVersion=15.21
|
||||||
publishVersion=15.21.0
|
publishVersion=15.21.0
|
||||||
buildCount=2
|
buildCount=6
|
||||||
baseBetaVersion=15.21.1
|
baseBetaVersion=15.21.1
|
||||||
|
|||||||
@@ -89,6 +89,7 @@ allprojects {
|
|||||||
subprojects {
|
subprojects {
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
options.encoding = "UTF-8"
|
options.encoding = "UTF-8"
|
||||||
|
options.compilerArgs << '-Xlint:-options'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#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
|
stageCount=0
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.21
|
baseVersion=15.21
|
||||||
publishVersion=15.21.0
|
publishVersion=15.21.0
|
||||||
buildCount=2
|
buildCount=6
|
||||||
baseBetaVersion=15.21.1
|
baseBetaVersion=15.21.1
|
||||||
|
|||||||
Reference in New Issue
Block a user