mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Replace deprecated exclude method with resources.excludes
This commit is contained in:
parent
c68d771770
commit
41ea7376c5
@ -116,16 +116,18 @@ class AllProjectConfigurer {
|
|||||||
lintConfig = target.rootProject.file("lintConfig.xml")
|
lintConfig = target.rootProject.file("lintConfig.xml")
|
||||||
}
|
}
|
||||||
packagingOptions {
|
packagingOptions {
|
||||||
exclude("META-INF/DEPENDENCIES")
|
resources.excludes.apply {
|
||||||
exclude("META-INF/LICENSE")
|
add("META-INF/DEPENDENCIES")
|
||||||
exclude("META-INF/LICENSE.txt")
|
add("META-INF/LICENSE")
|
||||||
exclude("META-INF/LICENSE.md")
|
add("META-INF/LICENSE.txt")
|
||||||
exclude("META-INF/LICENSE-notice.md")
|
add("META-INF/LICENSE.md")
|
||||||
exclude("META-INF/license.txt")
|
add("META-INF/LICENSE-notice.md")
|
||||||
exclude("META-INF/NOTICE")
|
add("META-INF/license.txt")
|
||||||
exclude("META-INF/NOTICE.txt")
|
add("META-INF/NOTICE")
|
||||||
exclude("META-INF/notice.txt")
|
add("META-INF/NOTICE.txt")
|
||||||
exclude("META-INF/ASL2.0")
|
add("META-INF/notice.txt")
|
||||||
|
add("META-INF/ASL2.0")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
sourceSets {
|
sourceSets {
|
||||||
getByName("test") {
|
getByName("test") {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user