Skip to content

Commit

Permalink
[Build] 🔧 Sign. Prepare production.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercandj committed Dec 30, 2017
1 parent 63cf514 commit 7526a34
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ obj/
gradle.properties
*.hprof

.jks
*.jks
6 changes: 0 additions & 6 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -163,12 +163,6 @@ dependencies {
implementation 'com.google.dagger:dagger:2.14.1'
kapt 'com.google.dagger:dagger-compiler:2.14.1'

// Third party - Network
implementation "com.squareup.okhttp3:okhttp:3.9.1"
implementation "com.squareup.okhttp3:logging-interceptor:3.9.1"
implementation "com.squareup.okhttp:okhttp-urlconnection:2.7.5"
implementation 'com.squareup.retrofit2:retrofit:2.3.0'

// Third party - UI
implementation 'com.github.bumptech.glide:glide:4.4.0'
kapt 'com.github.bumptech.glide:compiler:4.4.0'
Expand Down
28 changes: 20 additions & 8 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
# proguardFiles setting in build.gradle.
# By default, the flags in this file are appended to flags specified
# in D:\Programmation_Android\sdk/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the proguardFiles
# directive in build.gradle.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html

# Add any project specific keep options here:

# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}

# Uncomment this to preserve the line number information for
# debugging stack traces.
#-keepattributes SourceFile,LineNumberTable
# Retrofit
-dontwarn okio.**
-dontnote okio.**
-dontwarn retrofit2.**
-dontnote retrofit2.**
-keep class retrofit2.** { *; }

# Gson
-keepattributes Signature
-keepattributes *Annotation*
-keep class sun.misc.Unsafe { *; }
-keep class com.google.gson.examples.android.model.** { *; }

# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
# com.makeramen.roundedimageview
-dontwarn com.squareup.picasso.**
6 changes: 3 additions & 3 deletions config/signing/signing.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
rootProject.ext.releaseTubeSigningConfig = {
storeFile file("../config/signing/browser.jks")
storePassword ""
keyAlias ""
keyPassword ""
storePassword "fakepassword2017HahaHaha"
keyAlias "browser"
keyPassword "fakepassword2017HahaHaha"
}

0 comments on commit 7526a34

Please sign in to comment.