Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

recompile with -Xlint:deprecation

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