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
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

View File

@ -36,10 +36,19 @@ android {
packagingOptions {
resources {
excludes += ["META-INF/LICENSE.txt",
"META-INF/NOTICE.txt",
"META-INF/CHANGES",
"META-INF/README.md"]
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/NOTICE'
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.ThreadInfo
-dontwarn java.lang.management.ThreadMXBean
-dontwarn org.slf4j.impl.StaticLoggerBinder