diff --git a/README.md b/README.md index d0df745..8b6682e 100644 --- a/README.md +++ b/README.md @@ -54,7 +54,41 @@ gitee项目地址:[https://gitee.com/lianjiatech/retrofit-spring-boot-starter] ``` -> **友情提示:本项目依赖Retrofit-2.9.0,okhttp-3.14.9,okio-1.17.5版本,如果冲突,烦请手动引入相关jar包**。 +**本项目依赖Retrofit-2.9.0,okhttp-3.14.9,okio-1.17.5版本,如果冲突,烦请手动引入相关jar包**。完整依赖如下: + + +```xml + + com.github.lianjiatech + retrofit-spring-boot-starter + 2.2.5 + + + com.squareup.okhttp3 + logging-interceptor + 3.14.9 + + + com.squareup.okhttp3 + okhttp + 3.14.9 + + + com.squareup.okio + okio + 1.17.5 + + + com.squareup.retrofit2 + retrofit + 2.9.0 + + + com.squareup.retrofit2 + converter-jackson + 2.9.0 + +``` ### 定义http接口 diff --git a/README_EN.md b/README_EN.md index e5aaec6..c1e5881 100644 --- a/README_EN.md +++ b/README_EN.md @@ -47,6 +47,41 @@ ``` +This project depends on Retrofit-2.9.0, okhttp-3.14.9, and okio-1.17.5 versions. If there is a conflict, please manually import related jar packages. The complete dependencies are as follows: + +```xml + + com.github.lianjiatech + retrofit-spring-boot-starter + 2.2.5 + + + com.squareup.okhttp3 + logging-interceptor + 3.14.9 + + + com.squareup.okhttp3 + okhttp + 3.14.9 + + + com.squareup.okio + okio + 1.17.5 + + + com.squareup.retrofit2 + retrofit + 2.9.0 + + + com.squareup.retrofit2 + converter-jackson + 2.9.0 + +``` + ### Define HTTP interface **The interface must be marked with `@RetrofitClient` annotation**! Related annotations of HTTP can refer to the official documents: [Retrofit official documents](https://square.github.io/retrofit/).