提交 9ed5e868 编写于 作者: J jackjintai

modify:

[Android]: add dokit v3.3.4
上级 2e6ee639
......@@ -5,7 +5,7 @@ ext {
runOrPublish : 0,
//0:依赖dokit本地module运行
//1:依赖dokit远程aar运行
runType : 1,
runType : 0,
//0:发布到到本地localRepoURL仓库
//1:发布到滴滴内部仓库 一般不建议使用 如果需要发布到滴滴内网仓库需要将版本号改得比较大 假如版本号跟jcenter上的一致会由于缓存导致没法下载最新的jcenter的线上代码
//2:发布到jcenter远程仓库
......
//include ':empey-app'
include ':app'
include ':doraemonkit'
include ':doraemonkit-rpc'
//include ':doraemonkit-rpc'
include ':doraemonkit-no-op'
include ':doraemonkit-okhttp-v3'
include ':doraemonkit-okhttp-v4'
......
DoraemonKit-Android releases
===
## 3.3.4(dokitx 对应androidx,dokit对应Android Support)
1.为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。具体如下:
androidx===>com.didichuxing.doraemonkit:dokitx:3.3.4;
support===>com.didichuxing.doraemonkit:dokit:3.3.4;
2.兼容AS Gradle v4.1.0
3.dokit v3.3.4插件底层依赖库Booster升级到 v3.0.0版本
## 3.3.3(dokitx 对应androidx,dokit对应Android Support)
......
......@@ -5,16 +5,16 @@
为了更好的支持android官方androidx和support,dokit从3.3.1版本开始正式对sdk名字进行更新。
具体如下:
**androidx===>com.didichuxing.doraemonkit:dokitx:3.3.3**
**androidx===>com.didichuxing.doraemonkit:dokitx:3.3.4**
**support===>com.didichuxing.doraemonkit:dokit:3.3.3**
**support===>com.didichuxing.doraemonkit:dokit:3.3.4**
**下面所有的日志均用dokitx举例。要使用support版本请将dokitx改为dokit即可。**
|DoKit|最新版本|描述|
|-|-|-|
|支持Androidx|3.3.3|从v3.3.1版本开始更名为dokitx|
|支持android support|3.3.3|3.0.8.0版本对应3.2.0的功能,后期support将会不定期更新,主要还是看社区的反馈,请大家尽快升级和适配Androidx|
|支持Androidx|3.3.4|从v3.3.1版本开始更名为dokitx|
|支持android support|3.3.4|3.0.8.0版本对应3.2.0的功能,后期support将会不定期更新,主要还是看社区的反馈,请大家尽快升级和适配Androidx|
......@@ -23,8 +23,8 @@
```groovy
dependencies {
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.3'
releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.3'
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.4'
releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.4'
}
```
......@@ -33,20 +33,20 @@ dependencies {
滴滴内部业务线接入请将
```
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.3'
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.4'
```
替换为
```
debugImplementation 'com.didichuxing.doraemonkit:dokitx-rpc:3.3.3'
debugImplementation 'com.didichuxing.doraemonkit:dokitx-rpc:3.3.4'
```
**注意:**
假如你无法通过 jcenter 下载到依赖库并报了以下的错误
```
ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.3
ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.4
```
建议你可以尝试挂载VPN或通过命令行重试(以Mac系统为例 项目根目录下)
......@@ -75,7 +75,7 @@ DoraemonKit目前已支持Weex工具,包括
```groovy
dependencies {
debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.3'
debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.4'
}
```
......@@ -122,7 +122,7 @@ AOP包括以下几个功能:
buildscript {
dependencies {
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3'
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.4'
}
}
......
......@@ -3,24 +3,24 @@
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**
**androidx===>com.didichuxing.doraemonkit:dokitx:3.3.4**
**support===>com.didichuxing.doraemonkit:dokit:3.3.3**
**support===>com.didichuxing.doraemonkit:dokit:3.3.4**
**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.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|
|support Androidx|3.3.4|support Androidx from v3.1.0|
|supprot android support|3.3.4|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.3'
releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.3'
debugImplementation 'com.didichuxing.doraemonkit:dokitx:3.3.4'
releaseImplementation 'com.didichuxing.doraemonkit:dokitx-no-op:3.3.4'
}
```
......@@ -30,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.3
ERROR: Failed to resolve: com.didichuxing.doraemonkit:dokitx:3.3.4
```
You can try again from the command line (take Mac system as an example under the project root directory)
......@@ -56,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.3'
debugImplementation 'com.didichuxing.doraemonkit:dokitx-weex:3.3.4'
}
```
......@@ -98,7 +98,7 @@ Plugin includes the following functions:
```groovy
buildscript {
dependencies {
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3'
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.4'
}
}
```
......
......@@ -26,7 +26,7 @@
<div align="center">
<img src="https://javer.oss-cn-shanghai.aliyuncs.com/doraemon/github/DoraemonKit_github.png" width = "150" height = "150" alt="DoraemonKit" align=left />
<img src="https://img.shields.io/github/license/didi/DoraemonKit.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.3.3-blue.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.3.4-blue.svg" align=left />
<img src="https://img.shields.io/badge/iOS-3.0.4-yellow.svg" align=left />
<img src="https://img.shields.io/badge/miniapp-0.0.1-red.svg" align=left />
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" align=left />
......
<div align="center">
<img src="https://javer.oss-cn-shanghai.aliyuncs.com/doraemon/github/DoraemonKit_github.png" width = "150" height = "150" alt="DoraemonKit" align=left />
<img src="https://img.shields.io/github/license/didi/DoraemonKit.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.3.3-blue.svg" align=left />
<img src="https://img.shields.io/badge/Android-3.3.4-blue.svg" align=left />
<img src="https://img.shields.io/badge/iOS-3.0.4-yellow.svg" align=left />
<img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg" align=left />
</div>
......@@ -122,7 +122,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.1'
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.3'
classpath 'com.didichuxing.doraemonkit:dokitx-plugin:3.3.4'
}
}
......@@ -135,8 +135,8 @@ apply plugin: 'com.didi.dokit'
and then implementation DoKit SDK
```
debugImplementation "com.didichuxing.doraemonkit:dokitx:3.3.3"
releaseImplementation "com.didichuxing.doraemonkit:dokitx-no-op:3.3.3"
debugImplementation "com.didichuxing.doraemonkit:dokitx:3.3.4"
releaseImplementation "com.didichuxing.doraemonkit:dokitx-no-op:3.3.4"
```
#### 2、SDK Init
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册