Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

uses or overrides a deprecated API.

allprojects {
    tasks.withType(JavaCompile) {
        options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
    }
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #overrides #deprecated
ADD COMMENT
Topic
Name
8+6 =