Skip to content

Commit

Permalink
build: 更新依赖 fastjson2
Browse files Browse the repository at this point in the history
Former-commit-id: d044ab2
  • Loading branch information
afkT committed May 24, 2022
1 parent 83c9bb1 commit d6b3d2e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 8 deletions.
3 changes: 2 additions & 1 deletion README/android_standard.md
Original file line number Diff line number Diff line change
Expand Up @@ -944,7 +944,7 @@ Android 开发存在着众多版本的不同,比如 `compileSdkVersion`、`min
* **[RxAndroid][RxAndroid]**
* **[OkHttp][OkHttp]**
* **[Glide][Glide]**/**[Fresco][Fresco]**
* **[Gson][Gson]**/**[Fastjson][Fastjson]**
* **[Gson][Gson]**/**[Fastjson][Fastjson][Fastjson2][Fastjson2]**
* **[EventBus][EventBus]**/**[AndroidEventBus][AndroidEventBus]**
* **[GreenDao][GreenDao]**
* **[Dagger2][Dagger2]**(选用)
Expand Down Expand Up @@ -1270,6 +1270,7 @@ AS 已帮你集成了一些注释模板,我们只需要直接使用即可,
[Fresco]: https://github.com/facebook/fresco
[Gson]: https://github.com/google/gson
[Fastjson]: https://github.com/alibaba/fastjson
[Fastjson2]: https://github.com/alibaba/fastjson2
[EventBus]: https://github.com/greenrobot/EventBus
[AndroidEventBus]: https://github.com/bboyfeiyu/AndroidEventBus
[GreenDao]: https://github.com/greenrobot/greenDAO
Expand Down
8 changes: 6 additions & 2 deletions file/gradle/config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -248,8 +248,12 @@ ext {
auto_dispose_lifecycle : "com.uber.autodispose2:autodispose-androidx-lifecycle:2.1.1",
// https://mvnrepository.com/artifact/com.alibaba/fastjson
// Fastjson https://github.com/alibaba/fastjson
fastjson : "com.alibaba:fastjson:2.0.4",
fastjson_android : "com.alibaba:fastjson:2.0.4.android",
//fastjson : "com.alibaba:fastjson:2.0.4",
//fastjson_android : "com.alibaba:fastjson:2.0.4.android",
// https://mvnrepository.com/artifact/com.alibaba.fastjson2/fastjson2
// Fastjson2 https://github.com/alibaba/fastjson2
fastjson2 : "com.alibaba.fastjson2:fastjson2:2.0.4",
fastjson2_android : "com.alibaba.fastjson2:fastjson2:2.0.4.android",
// Anchors 启动框架 https://github.com/YummyLau/Anchors/blob/master/README-zh.md
anchors : "com.github.YummyLau:Anchors:v1.1.4",
// 功能面板切换辅助 https://github.com/YummyLau/PanelSwitchHelper/blob/master/README-zh.md
Expand Down
4 changes: 2 additions & 2 deletions file/gradle/deps/deps_other_lib.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ dependencies {
implementation deps.lib.auto_dispose_lifecycle
// Gson https://github.com/google/gson
implementation deps.lib.gson
// Fastjson https://github.com/alibaba/fastjson
implementation deps.lib.fastjson
// Fastjson2 https://github.com/alibaba/fastjson2
implementation deps.lib.fastjson2
// Glide 图片加载框架 https://github.com/bumptech/glide
implementation deps.lib.glide
kapt deps.lib.glide_compiler
Expand Down
2 changes: 1 addition & 1 deletion lib/DevEngine/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ DevEngine(基于 [DevAssist Engine 模块](https://github.com/afkT/DevUtils/bl
* 依赖 [Gson](https://github.com/google/gson)
实现 [GsonEngineImpl](https://github.com/afkT/DevUtils/blob/master/lib/DevEngine/src/main/java/dev/engine/json/engine_gson.kt)

* 依赖 [Fastjson](https://github.com/alibaba/fastjson)
* 依赖 [Fastjson2](https://github.com/alibaba/fastjson2)
实现 [FastjsonEngineImpl](https://github.com/afkT/DevUtils/blob/master/lib/DevEngine/src/main/java/dev/engine/json/engine_fastjson.kt)


Expand Down
4 changes: 2 additions & 2 deletions lib/DevEngine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ dependencies {
api deps.lib.glide_transformations
// Gson https://github.com/google/gson
api deps.lib.gson
// Fastjson https://github.com/alibaba/fastjson
api deps.lib.fastjson
// Fastjson2 https://github.com/alibaba/fastjson2
api deps.lib.fastjson2
// 基于 mmap 的高性能通用 key-value 组件 https://github.com/Tencent/MMKV/blob/master/README_CN.md
api deps.lib.mmkv
// Android 平台下的图片选择器 https://github.com/LuckSiege/PictureSelector
Expand Down

0 comments on commit d6b3d2e

Please sign in to comment.