@@ -2,6 +2,14 @@ apply plugin: 'com.android.application' |
2 | 2 | apply plugin: 'android-apt' |
3 | 3 |
|
4 | 4 | android { |
| 5 | + signingConfigs { |
| 6 | + NetworkDiagnosis { |
| 7 | + keyAlias 'darkal' |
| 8 | + keyPassword '333333' |
| 9 | + storeFile file('./darkal.jks') |
| 10 | + storePassword '333333' |
| 11 | + } |
| 12 | + } |
5 | 13 | compileSdkVersion 24 |
6 | 14 | buildToolsVersion '24.0.3' |
7 | 15 | dataBinding { |
@@ -16,17 +24,17 @@ android { |
16 | 24 | // Enabling multidex support. |
17 | 25 | multiDexEnabled true |
18 | 26 | resConfigs "zh" |
19 | | -// signingConfig signingConfigs.NetworkDiagnosis |
| 27 | + signingConfig signingConfigs.NetworkDiagnosis |
20 | 28 | } |
21 | 29 | buildTypes { |
22 | 30 | release { |
23 | 31 | minifyEnabled true |
24 | 32 | shrinkResources true |
25 | 33 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' |
26 | | -// signingConfig signingConfigs.NetworkDiagnosis |
| 34 | + signingConfig signingConfigs.NetworkDiagnosis |
27 | 35 | } |
28 | 36 | debug { |
29 | | -// signingConfig signingConfigs.NetworkDiagnosis |
| 37 | + signingConfig signingConfigs.NetworkDiagnosis |
30 | 38 | } |
31 | 39 | } |
32 | 40 | packagingOptions { |
@@ -80,20 +88,16 @@ dependencies { |
80 | 88 | // 日志处理 |
81 | 89 | compile 'org.slf4j:slf4j-api:1.7.21' |
82 | 90 | // compile 'org.slf4j:jcl-over-slf4j:1.7.21' |
83 | | - |
84 | 91 | // 启用Netty的日志输出(调试用) |
85 | | - |
86 | 92 | // compile 'com.noveogroup.android:android-logger:1.3.5' |
87 | | - |
88 | 93 | // 文件上传插件 |
89 | 94 | compile 'net.gotev:uploadservice:3.0.3' |
90 | 95 | // Bugly上报 |
91 | 96 | compile 'com.tencent.bugly:crashreport_upgrade:latest.release' |
92 | | -// compile 'com.tencent.bugly:nativecrashreport:latest.release' |
| 97 | + // compile 'com.tencent.bugly:nativecrashreport:latest.release' |
93 | 98 | // 图片显示 |
94 | 99 | compile 'com.github.bumptech.glide:glide:3.7.0' |
95 | 100 | compile 'com.github.clans:fab:1.6.4' |
96 | | - |
97 | 101 | // Json格式化 |
98 | 102 | compile 'com.google.code.gson:gson:2.7' |
99 | 103 | } |