fichier proguard
This commit is contained in:
parent
99cc9d058c
commit
34c83ee318
|
@ -18,34 +18,35 @@ android {
|
|||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
zipAlignEnabled true
|
||||
}
|
||||
debug {
|
||||
minifyEnabled true
|
||||
shrinkResources true
|
||||
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
||||
zipAlignEnabled true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
||||
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
|
||||
|
||||
implementation "com.android.support:appcompat-v7:$supportLibVersion"
|
||||
implementation "com.android.support:design:$supportLibVersion"
|
||||
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
|
||||
|
||||
implementation "android.arch.persistence.room:runtime:$archRoomVersion"
|
||||
implementation 'com.android.support:support-v4:26.1.0'
|
||||
implementation 'com.android.support:recyclerview-v7:26.1.0'
|
||||
kapt "android.arch.persistence.room:compiler:$archRoomVersion"
|
||||
|
||||
testImplementation 'junit:junit:4.12'
|
||||
androidTestImplementation 'com.android.support.test:runner:1.0.1'
|
||||
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
|
||||
|
||||
implementation 'org.bouncycastle:bcprov-jdk15on:1.58'
|
||||
|
||||
implementation 'org.whispersystems:curve25519-android:0.4.1'
|
||||
|
||||
implementation 'com.journeyapps:zxing-android-embedded:3.5.0'
|
||||
implementation 'com.google.zxing:core:3.3.1'
|
||||
|
||||
}
|
||||
|
|
9
app/proguard-rules.pro
vendored
9
app/proguard-rules.pro
vendored
|
@ -19,3 +19,12 @@
|
|||
# If you keep the line number information, uncomment this to
|
||||
# hide the original source file name.
|
||||
#-renamesourcefileattribute SourceFile
|
||||
|
||||
-keep class org.bouncycastle.** { *; }
|
||||
-dontwarn org.bouncycastle.**
|
||||
-keep class org.whispersystems.** { *; }
|
||||
-keep class com.journeyapps.** { *; }
|
||||
-keep class com.google.zxing.** { *; }
|
||||
-keep class android.arch.persistence.room.** { *; }
|
||||
-keep class org.jetbrains.kotlin.** { *; }
|
||||
-keep class com.android.support.** { *; }
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
# Specifies the JVM arguments used for the daemon process.
|
||||
# The setting is particularly useful for tweaking memory settings.
|
||||
org.gradle.jvmargs=-Xmx256m
|
||||
org.gradle.jvmargs=-Xmx512m
|
||||
|
||||
# When configured, Gradle will run in incubating parallel mode.
|
||||
# This option should only be used with decoupled projects. More details, visit
|
||||
|
|
Loading…
Reference in a new issue