Skip to content

Commit 42fe859

Browse files
committed
修复打 release 包出现编译报错的问题
1 parent 7c29718 commit 42fe859

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎app/build.gradle‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,7 @@ dependencies {
171171

172172
implementation libs.easyHttp
173173
implementation libs.okHttp
174+
implementation libs.okHttpSse
174175

175176
implementation(libs.gsonFactory) {
176177
exclude group: 'org.jetbrains.kotlin', module: 'kotlin-reflect'

‎gradle/libs.versions.toml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ titleBar = "10.8"
1313
toaster = "15.2"
1414
easyHttp = "13.8"
1515
okHttp = "5.4.0"
16+
okHttpSse = "5.0.0-alpha.11"
1617
gsonFactory = "10.8"
1718
gson = "2.14.0"
1819
shapeView = "11.3"
@@ -77,6 +78,7 @@ easyHttp = { module = "com.github.getActivity:EasyHttp", version.ref = "easyHttp
7778

7879
# OkHttp 客户端:https://github.com/square/okhttp
7980
okHttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okHttp" }
81+
okHttpSse = { module = "com.squareup.okhttp3:okhttp-sse", version.ref = "okHttpSse" }
8082

8183
# Gson 容错工厂:提升解析稳定性 https://github.com/getActivity/GsonFactory
8284
gsonFactory = { module = "com.github.getActivity:GsonFactory", version.ref = "gsonFactory" }

‎library/core/proguard-core.pro‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# 基于 sdk/tools/proguard/proguard-android-optimize.txt 修改
22
-optimizations !code/simplification/arithmetic,!code/simplification/cast,!field/*,!class/merging/*
33
-optimizationpasses 5
4-
-allowaccessmodification
54
-dontpreverify
65
-dontusemixedcaseclassnames
76
-dontskipnonpubliclibraryclasses

0 commit comments

Comments
 (0)