forked from Acode-Foundation/Acode
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-extras.gradle
More file actions
24 lines (23 loc) · 831 Bytes
/
Copy pathbuild-extras.gradle
File metadata and controls
24 lines (23 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
android {
packagingOptions {
pickFirst 'META-INF/versions/9/OSGI-INF/MANIFEST.MF'
}
buildTypes {
release {
//might cause ClassNotFoundException errors
//to fix those errors you need to either put @Keep on the class/feild or add a entry in progrud rules file
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}
}
configurations {
all {
exclude module: 'commons-logging'
exclude group: 'org.bouncycastle', module: 'bcprov-jdk15on'
exclude group: 'org.bouncycastle', module: 'bcpkix-jdk15on'
exclude group: 'org.bouncycastle', module: 'bcpkix-jdk18on'
exclude group: 'org.bouncycastle', module: 'bcprov-jdk18on'
}
}