fixed R8 error on slf4j

This commit is contained in:
Xilin Jia 2024-04-19 11:52:23 +01:00
parent 2c28af7318
commit 61c61f4df1
3 changed files with 17 additions and 6 deletions

View File

@ -129,9 +129,9 @@ You can find the license text in the LICENSE file.
## Copyright ## Copyright
New files and modifications in the project is copyrighted in 2024 by Xilin Jia and related contributors. New files and contents in the project are copyrighted in 2024 by Xilin Jia and related contributors.
Original contents from the forked project maintains copyrights of the AntennaPod team. Original contents from the forked project maintain copyrights of the AntennaPod team.
## Licenses and permissions ## Licenses and permissions

View File

@ -36,10 +36,19 @@ android {
packagingOptions { packagingOptions {
resources { resources {
excludes += ["META-INF/LICENSE.txt", exclude 'META-INF/DEPENDENCIES'
"META-INF/NOTICE.txt", exclude 'META-INF/LICENSE'
"META-INF/CHANGES", exclude 'META-INF/NOTICE'
"META-INF/README.md"] exclude 'META-INF/CHANGES'
exclude 'META-INF/README.md'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/MANIFEST.MF'
// excludes += ["META-INF/LICENSE.txt",
// "META-INF/NOTICE.txt",
// "META-INF/CHANGES",
// "META-INF/README.md"]
} }
} }

View File

@ -61,3 +61,5 @@
-dontwarn java.lang.management.ManagementFactory -dontwarn java.lang.management.ManagementFactory
-dontwarn java.lang.management.ThreadInfo -dontwarn java.lang.management.ThreadInfo
-dontwarn java.lang.management.ThreadMXBean -dontwarn java.lang.management.ThreadMXBean
-dontwarn org.slf4j.impl.StaticLoggerBinder