mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
Migrate packagingOptions exclusions to packagingOptions / resources / exclusions
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
2c2d4aa306
commit
c7e204172f
@ -95,16 +95,20 @@ android {
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
|
||||
packagingOptions {
|
||||
exclude 'META-INF/LICENSE.txt'
|
||||
exclude 'META-INF/LICENSE'
|
||||
exclude 'META-INF/NOTICE.txt'
|
||||
exclude 'META-INF/NOTICE'
|
||||
exclude 'META-INF/DEPENDENCIES'
|
||||
exclude 'META-INF/rxjava.properties'
|
||||
resources {
|
||||
excludes += [
|
||||
'META-INF/LICENSE.txt',
|
||||
'META-INF/LICENSE',
|
||||
'META-INF/NOTICE.txt',
|
||||
'META-INF/NOTICE',
|
||||
'META-INF/DEPENDENCIES',
|
||||
'META-INF/rxjava.properties'
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
android.applicationVariants.all { variant ->
|
||||
String variantName = variant.name
|
||||
String capVariantName = variantName.substring(0, 1).toUpperCase(Locale.ROOT) + variantName.substring(1)
|
||||
|
Loading…
Reference in New Issue
Block a user