Skip to content

Commit 3475274

Browse files
authored
Update README.md
1 parent c48e643 commit 3475274

File tree

1 file changed

+20
-18
lines changed

1 file changed

+20
-18
lines changed

README.md

Lines changed: 20 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -21,28 +21,19 @@
2121

2222
### maven 方式
2323
将下边的依赖条件放到你项目的 maven pom.xml 文件里。
24+
> 其中 slf4j 可以与 logback, log4j, commons-logging 等日志框架一起工作,可根据你的需要配置使用。
2425
2526
```Java
2627
<dependency>
2728
<groupId>cn.jpush.api</groupId>
2829
<artifactId>jpush-client</artifactId>
29-
<version>3.2.9</version>
30+
<version>3.2.10</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>cn.jpush.api</groupId>
34+
<artifactId>jiguang-common</artifactId>
35+
<version>0.1.3</version>
3036
</dependency>
31-
```
32-
### jar 包方式
33-
34-
请到 [Release页面](https://github.com/jpush/jpush-api-java-client/releases)下载相应版本的发布包。
35-
36-
37-
### 依赖包
38-
* [slf4j](http://www.slf4j.org/) / log4j (Logger)
39-
* [gson](https://code.google.com/p/google-gson/) (Google JSON Utils)
40-
41-
> 其中 slf4j 可以与 logback, log4j, commons-logging 等日志框架一起工作,可根据你的需要配置使用。
42-
43-
如果使用 Maven 构建项目,则需要在你的项目 pom.xml 里增加:
44-
45-
```Java
4637
<dependency>
4738
<groupId>com.google.code.gson</groupId>
4839
<artifactId>gson</artifactId>
@@ -63,11 +54,22 @@
6354
<dependency>
6455
<groupId>log4j</groupId>
6556
<artifactId>log4j</artifactId>
66-
<version>1.2.16</version>
57+
<version>1.2.17</version>
6758
</dependency>
6859
```
60+
### jar 包方式
61+
62+
请到 [Release页面](https://github.com/jpush/jpush-api-java-client/releases)下载相应版本的发布包。
63+
64+
65+
### 依赖包
66+
* [slf4j](http://www.slf4j.org/) / log4j (Logger)
67+
* [gson](https://code.google.com/p/google-gson/) (Google JSON Utils)
68+
* [jiguang-commom](https://github.com/jpush/jiguang-java-client-common)
69+
70+
> 其中 slf4j 可以与 logback, log4j, commons-logging 等日志框架一起工作,可根据你的需要配置使用。
6971
70-
如果不使用 Maven 构建项目,则项目 libs/ 目录下有依赖的 jar 可复制到你的项目里去。
72+
如果不使用 Maven 构建项目,[项目 libs/ 目录](https://github.com/jpush/jpush-api-java-client/tree/master/libs)下有依赖的 jar 可复制到你的项目里去。
7173

7274
## 编译源码
7375

0 commit comments

Comments
 (0)