📜  使用或覆盖已弃用的 API. - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:24.342000             🧑  作者: Mango

代码示例1
allprojects {
    tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
    }
}