Skip to content

Commit

Permalink
Merge pull request #3521 from getlantern/valencia-mobile-signing-config
Browse files Browse the repository at this point in the history
Gradle config updates to generate signed release APK
  • Loading branch information
atavism committed Feb 9, 2016
2 parents c10002c + 8c88adb commit 592f8d4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
12 changes: 11 additions & 1 deletion src/github.com/getlantern/lantern-mobile/app/build.gradle
Expand Up @@ -20,12 +20,22 @@ android {
abortOnError false
}

signingConfigs {
release {
storeFile file(KEYSTORE_FILE)
keyAlias "Lantern Release Key"
storePassword KEYSTORE_PWD
keyPassword KEY_PWD
}
}

buildTypes {
debug {
minifyEnabled false
}
release {
minifyEnabled false
minifyEnabled true
signingConfig signingConfigs.release
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
applicationVariants.all { variant ->
Expand Down
Expand Up @@ -15,3 +15,8 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

-useuniqueclassmembernames
-keepattributes SourceFile,LineNumberTable
-allowaccessmodification
-ignorewarnings

0 comments on commit 592f8d4

Please sign in to comment.