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:
@@ -89,6 +89,7 @@ allprojects {
|
||||
subprojects {
|
||||
tasks.withType(JavaCompile) {
|
||||
options.encoding = "UTF-8"
|
||||
options.compilerArgs << '-Xlint:-options'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user