Commit 5200f9ab6e297a440941725608308c6a310e3aa6

Authored by 陈硕
1 parent 9df45dc0

添加数据

.idea/vcs.xml
@@ -2,5 +2,6 @@ @@ -2,5 +2,6 @@
2 <project version="4"> 2 <project version="4">
3 <component name="VcsDirectoryMappings"> 3 <component name="VcsDirectoryMappings">
4 <mapping directory="" vcs="Git" /> 4 <mapping directory="" vcs="Git" />
  5 + <mapping directory="$PROJECT_DIR$" vcs="Git" />
5 </component> 6 </component>
6 </project> 7 </project>
7 \ No newline at end of file 8 \ No newline at end of file
app/build.gradle
@@ -10,12 +10,23 @@ android { @@ -10,12 +10,23 @@ android {
10 versionCode 1 10 versionCode 1
11 versionName "1.0" 11 versionName "1.0"
12 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" 12 testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  13 + multiDexEnabled true
13 } 14 }
  15 + signingConfigs {
  16 + myConfig {
  17 + storeFile file("mykeystore.jks")
  18 + storePassword "123456"
  19 + keyAlias "123456"
  20 + keyPassword "123456"
  21 + }
  22 + }
  23 +
  24 +
14 buildTypes { 25 buildTypes {
15 release { 26 release {
16 minifyEnabled true 27 minifyEnabled true
17 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 28 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
18 - 29 + signingConfig signingConfigs.myConfig
19 } 30 }
20 debug { 31 debug {
21 minifyEnabled false 32 minifyEnabled false
app/proguard-rules.pro
@@ -52,6 +52,15 @@ @@ -52,6 +52,15 @@
52 -keep class com.cnlive.libs.util. { *;} 52 -keep class com.cnlive.libs.util. { *;}
53 53
54 54
  55 +-keep class io.rong.** {*;}
  56 + -keep class * implements io.rong.imlib.model.MessageContent {*;}
  57 + -dontwarn io.rong.push.**
  58 + -dontnote com.xiaomi.**
  59 + -dontnote com.google.android.gms.gcm.**
  60 + -dontnote io.rong.**
  61 + -keep public class * extends android.content.BroadcastReceiver
  62 +
  63 +
55 64
56 # Add project specific ProGuard rules here. 65 # Add project specific ProGuard rules here.
57 # By default, the flags in this file are appended to flags specified 66 # By default, the flags in this file are appended to flags specified