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
1 changed files with 8 additions and 0 deletions

View File

@ -96,6 +96,13 @@ android {
buildFeatures {
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 {
@ -313,6 +320,7 @@ static String getGitWorkingBranch() {
}
}
// fix reproducible builds
project.afterEvaluate {
tasks.compileReleaseArtProfile.doLast {
outputs.files.each { file ->