Merge pull request #10004 from TeamNewPipe/fix/apk-jsoup
Remove jsoup files from APK
This commit is contained in:
commit
29318c64ed
1 changed files with 8 additions and 0 deletions
|
@ -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 ->
|
||||||
|
|
Loading…
Reference in a new issue