Merge pull request #10004 from TeamNewPipe/fix/apk-jsoup

Remove jsoup files from APK
This commit is contained in:
Stypox 2023-04-10 17:22:20 +02:00 committed by GitHub
commit 29318c64ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,6 +96,13 @@ android {
buildFeatures { buildFeatures {
viewBinding true viewBinding true
} }
packagingOptions {
// remove two files which belong to jsoup
// no idea how they ended up in the META-INF dir...
exclude 'META-INF/README.md'
exclude 'META-INF/CHANGES'
}
} }
ext { ext {
@ -313,6 +320,7 @@ static String getGitWorkingBranch() {
} }
} }
// fix reproducible builds
project.afterEvaluate { project.afterEvaluate {
tasks.compileReleaseArtProfile.doLast { tasks.compileReleaseArtProfile.doLast {
outputs.files.each { file -> outputs.files.each { file ->