mirror of
https://github.com/oxen-io/session-android.git
synced 2025-08-25 06:17:57 +00:00
Fix the connectedCheck build target
1) Create a new build type for testing. 2) Only obfuscate the package android.support.v7.internal.view.menu to prevent LGE ROM bug 3) '-keepattributes Exceptions' to allow for throwing from mocks 4) -dontskipnonpubliclibraryclassmembers and -dontwarn for everything else Fixes #2871 Closes #2986 // FREEBIE
This commit is contained in:

committed by
Moxie Marlinspike

parent
f42d100f15
commit
a413346610
@@ -127,6 +127,7 @@ dependencyVerification {
|
||||
android {
|
||||
compileSdkVersion 22
|
||||
buildToolsVersion '22.0.1'
|
||||
testBuildType "testing"
|
||||
|
||||
dexOptions {
|
||||
javaMaxHeapSize "4g"
|
||||
@@ -188,6 +189,10 @@ android {
|
||||
'proguard.cfg'
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
testing.initWith(buildTypes.debug)
|
||||
testing {
|
||||
proguardFile 'proguard-testing.pro'
|
||||
}
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
|
Reference in New Issue
Block a user