mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-01 21:59:43 +02:00
build(android): reduce compat media deprecation warning noise
This commit is contained in:
1 parent
e200879d14
commit
19cb703379
1 file changed
+4
-1
+4
-1
@@ -1,6 +1,9 @@
|
||||
group = "com.ryanheise.audioservice"
|
||||
version = "1.0-SNAPSHOT"
|
||||
val args = listOf("-Xlint:deprecation", "-Xlint:unchecked")
|
||||
// androidx.media 1.8 deprecates its whole compat media-session API in favor of
|
||||
// Media3. This plugin is built on that API, so per-use deprecation listings
|
||||
// only bury real warnings; javac still prints a one-line deprecation note.
|
||||
val args = listOf("-Xlint:unchecked")
|
||||
|
||||
buildscript {
|
||||
// Uncomment when moving to Kotlin
|
||||
|
||||
Reference in new issue
Block a user