Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

-Xlint:deprecation

//add to android project level build.gradle
allprojects {
    gradle.projectsEvaluated {
        tasks.withType(JavaCompile) {
            options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
        }
    }
}
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
3+6 =