From da8015188ce4296d6eca21cb19950890625af06a Mon Sep 17 00:00:00 2001 From: jackjintai Date: Thu, 5 Nov 2020 15:35:19 +0800 Subject: [PATCH] modify [Android]-add dokit v3.3.3 --- Doc/android-ReleaseNotes.md | 16 ++++++++++++++++ Doc/android_cn_guide.md | 26 ++++++++++++++++---------- Doc/android_en_guide.md | 21 +++++++++++++-------- README.md | 2 +- README_EN.md | 8 ++++---- 5 files changed, 50 insertions(+), 23 deletions(-) diff --git a/Doc/android-ReleaseNotes.md b/Doc/android-ReleaseNotes.md index 7e804f24..211a0710 100644 --- a/Doc/android-ReleaseNotes.md +++ b/Doc/android-ReleaseNotes.md @@ -1,6 +1,22 @@ DoraemonKit-Android releases === +## 3.3.3(dokitx 对应androidx,dokit对应Android Support) + +1.为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。具体如下: + +androidx===>com.didichuxing.doraemonkit:dokitx:3.3.3; + +support===>com.didichuxing.doraemonkit:dokit:3.3.3; + +2.新增三方依赖库搜索 + +3.解决H5助手崩溃的问题 + +4.兼容booster,dokit v3.3.3插件底层依赖booster v2.3.0版本 + + + ## 3.3.1(dokitx 对应androidx,dokit对应Android Support) 1.为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。具体如下: diff --git a/Doc/android_cn_guide.md b/Doc/android_cn_guide.md index 5f229444..af3fbec6 100644 --- a/Doc/android_cn_guide.md +++ b/Doc/android_cn_guide.md @@ -1,14 +1,20 @@ ## 接入方式 **Tip:** -**1、为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。具体如下:androidx===>com.didichuxing.doraemonkit:dokitx:3.3.1; support===>com.didichuxing.doraemonkit:dokit:3.3.1;** + +为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。 +具体如下: + +**androidx===>com.didichuxing.doraemonkit:dokitx:3.3.3** + +**support===>com.didichuxing.doraemonkit:dokit:3.3.3** **下面所有的日志均用dokitx举例。要使用support版本请将dokitx改为dokit即可。** |DoKit|最新版本|描述| |-|-|-| -|支持Androidx|3.3.1|从v3.3.1版本开始更名为dokitx| -|支持android support|3.0.8.0|3.0.8.0版本对应3.2.0的功能,后期support将会不定期更新,主要还是看社区的反馈,请大家尽快升级和适配Androidx| +|支持Androidx|3.3.3|从v3.3.1版本开始更名为dokitx| +|支持android support|3.3.3|3.0.8.0版本对应3.2.0的功能,后期support将会不定期更新,主要还是看社区的反馈,请大家尽快升级和适配Androidx| @@ -17,8 +23,8 @@ ```groovy dependencies { … - debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.1' - releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.1' + debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.3' + releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.3' … } ``` @@ -27,20 +33,20 @@ dependencies { 滴滴内部业务线接入请将 ``` -debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.1' +debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.3' ``` 替换为 ``` -debugImplementation 'com.didichuxing.doraemonkit:dokitx-rpc:3.3.1' +debugImplementation 'com.didichuxing.doraemonkit:dokitx-rpc:3.3.3' ``` **注意:** 假如你无法通过 jcenter 下载到依赖库并报了以下的错误 ``` -ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.1 +ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.3 ``` 建议你可以尝试挂载VPN或通过命令行重试(以Mac系统为例 项目根目录下) @@ -69,7 +75,7 @@ DoraemonKit目前已支持Weex工具,包括 ```groovy dependencies { … - debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.1' + debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.3' … } ``` @@ -116,7 +122,7 @@ AOP包括以下几个功能: buildscript { dependencies { … - classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.1' + classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3' … } } diff --git a/Doc/android_en_guide.md b/Doc/android_en_guide.md index eff6dac2..ccdca42f 100644 --- a/Doc/android_en_guide.md +++ b/Doc/android_en_guide.md @@ -1,21 +1,26 @@ # Android Guide **Tip:** -**1、In order to better support the official androidx and support of android, dokit has officially updated the sdk name from version 3.3.1. details as follows:androidx===>com.didichuxing.doraemonkit:dokitx:3.3.1; support===>com.didichuxing.doraemonkit:dokit:3.3.1;** + +In order to better support the official androidx and support of android, dokit has officially updated the sdk name from version 3.3.1. details as follows: + +**androidx===>com.didichuxing.doraemonkit:dokitx:3.3.3** + +**support===>com.didichuxing.doraemonkit:dokit:3.3.3** **All the logs below use dokitx as an example. To use the support version, please change dokitx to dokit.** |DoKit|new Version|Desc| |- |- |- | -|support Androidx|3.3.1|support Androidx from v3.1.0| -|supprot android support|3.0.8.0|Version 3.0.8.0 corresponds to the function of 3.2.0. Later support will be updated from time to time, mainly based on community feedback, please upgrade and adapt to Androidx as soon as possible| +|support Androidx|3.3.3|support Androidx from v3.1.0| +|supprot android support|3.3.3|Version 3.0.8.0 corresponds to the function of 3.2.0. Later support will be updated from time to time, mainly based on community feedback, please upgrade and adapt to Androidx as soon as possible| #### 1. DoKit SDK Dependencie ```groovy dependencies { - debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.1' - releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.1' + debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.3' + releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.3' } ``` @@ -25,7 +30,7 @@ dependencies { If you cannot download the dependent library through jcenter and report the following error ``` -ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.1 +ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.3 ``` You can try again from the command line (take Mac system as an example under the project root directory) @@ -51,7 +56,7 @@ If you need to support Weex, you can directly add the following dependencies ```groovy dependencies { … - debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.1' + debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.3' … } ``` @@ -93,7 +98,7 @@ Plugin includes the following functions: ```groovy buildscript { dependencies { - classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.1' + classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3' } } ``` diff --git a/README.md b/README.md index 7c742f32..157566d1 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@
DoraemonKit - + diff --git a/README_EN.md b/README_EN.md index e7385853..c133dc9d 100644 --- a/README_EN.md +++ b/README_EN.md @@ -1,7 +1,7 @@
DoraemonKit - +
@@ -122,7 +122,7 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.6.1' - classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.1' + classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3' } } @@ -135,8 +135,8 @@ apply plugin: 'com.didi.dokit' and then implementation DoKit SDK ``` -debugImplementation "com.didichuxing.doraemonkit:dokitx:3.3.1" -releaseImplementation "com.didichuxing.doraemonkit:dokitx-no-op:3.3.1" +debugImplementation "com.didichuxing.doraemonkit:dokitx:3.3.3" +releaseImplementation "com.didichuxing.doraemonkit:dokitx-no-op:3.3.3" ``` #### 2、SDK Init -- GitLab