1
0
mirror of https://github.com/TeamNewPipe/NewPipe.git synced 2024-11-24 20:15:16 +01:00

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