mirror of
https://github.com/Genymobile/scrcpy
synced 2025-01-03 13:12:06 +00:00
Enable Java deprecation warnings details
Without the option, gradle reports a lint issue, but without any details.
This commit is contained in:
parent
2edf192e3a
commit
83082406d3
@ -19,6 +19,9 @@ allprojects {
|
|||||||
google()
|
google()
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
|
tasks.withType(JavaCompile) {
|
||||||
|
options.compilerArgs << "-Xlint:deprecation"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task clean(type: Delete) {
|
task clean(type: Delete) {
|
||||||
|
Loading…
Reference in New Issue
Block a user