|
21 | 21 |
|
22 | 22 | ### maven 方式 |
23 | 23 | 将下边的依赖条件放到你项目的 maven pom.xml 文件里。 |
| 24 | +> 其中 slf4j 可以与 logback, log4j, commons-logging 等日志框架一起工作,可根据你的需要配置使用。 |
24 | 25 |
|
25 | 26 | ```Java |
26 | 27 | <dependency> |
27 | 28 | <groupId>cn.jpush.api</groupId> |
28 | 29 | <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> |
30 | 36 | </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 |
46 | 37 | <dependency> |
47 | 38 | <groupId>com.google.code.gson</groupId> |
48 | 39 | <artifactId>gson</artifactId> |
|
63 | 54 | <dependency> |
64 | 55 | <groupId>log4j</groupId> |
65 | 56 | <artifactId>log4j</artifactId> |
66 | | - <version>1.2.16</version> |
| 57 | + <version>1.2.17</version> |
67 | 58 | </dependency> |
68 | 59 | ``` |
| 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 等日志框架一起工作,可根据你的需要配置使用。 |
69 | 71 |
|
70 | | -如果不使用 Maven 构建项目,则项目 libs/ 目录下有依赖的 jar 可复制到你的项目里去。 |
| 72 | +如果不使用 Maven 构建项目,则[项目 libs/ 目录](https://github.com/jpush/jpush-api-java-client/tree/master/libs)下有依赖的 jar 可复制到你的项目里去。 |
71 | 73 |
|
72 | 74 | ## 编译源码 |
73 | 75 |
|
|
0 commit comments