|
14 | 14 |
|
15 | 15 | 版本更新:[Release页面](https://github.com/jpush/jpush-api-java-client/releases)。下载更新请到这里。 |
16 | 16 |
|
| 17 | +> 非常欢迎各位开发者提交代码,贡献一份力量,review过有效的代码将会合入本项目。 |
| 18 | +
|
17 | 19 |
|
18 | 20 | ## 安装 |
19 | 21 |
|
20 | 22 | ### maven 方式 |
21 | 23 | 将下边的依赖条件放到你项目的 maven pom.xml 文件里。 |
22 | 24 |
|
23 | | -``` |
| 25 | +```Java |
24 | 26 | <dependency> |
25 | 27 | <groupId>cn.jpush.api</groupId> |
26 | 28 | <artifactId>jpush-client</artifactId> |
27 | | - <version>3.2.6</version> |
| 29 | + <version>3.2.7</version> |
28 | 30 | </dependency> |
29 | 31 | ``` |
30 | 32 | ### jar 包方式 |
|
40 | 42 |
|
41 | 43 | 如果使用 Maven 构建项目,则需要在你的项目 pom.xml 里增加: |
42 | 44 |
|
43 | | -``` |
44 | | - <dependency> |
45 | | - <groupId>com.google.code.gson</groupId> |
46 | | - <artifactId>gson</artifactId> |
47 | | - <version>2.2.4</version> |
48 | | - </dependency> |
49 | | - <dependency> |
50 | | - <groupId>org.slf4j</groupId> |
51 | | - <artifactId>slf4j-api</artifactId> |
52 | | - <version>1.7.5</version> |
53 | | - </dependency> |
54 | | - |
55 | | - <!-- For log4j --> |
56 | | - <dependency> |
57 | | - <groupId>org.slf4j</groupId> |
58 | | - <artifactId>slf4j-log4j12</artifactId> |
59 | | - <version>1.7.5</version> |
60 | | - </dependency> |
61 | | - <dependency> |
62 | | - <groupId>log4j</groupId> |
63 | | - <artifactId>log4j</artifactId> |
64 | | - <version>1.2.16</version> |
65 | | - </dependency> |
66 | | - |
67 | | -
|
| 45 | +```Java |
| 46 | + <dependency> |
| 47 | + <groupId>com.google.code.gson</groupId> |
| 48 | + <artifactId>gson</artifactId> |
| 49 | + <version>2.2.4</version> |
| 50 | + </dependency> |
| 51 | + <dependency> |
| 52 | + <groupId>org.slf4j</groupId> |
| 53 | + <artifactId>slf4j-api</artifactId> |
| 54 | + <version>1.7.5</version> |
| 55 | + </dependency> |
| 56 | + |
| 57 | + <!-- For log4j --> |
| 58 | + <dependency> |
| 59 | + <groupId>org.slf4j</groupId> |
| 60 | + <artifactId>slf4j-log4j12</artifactId> |
| 61 | + <version>1.7.5</version> |
| 62 | + </dependency> |
| 63 | + <dependency> |
| 64 | + <groupId>log4j</groupId> |
| 65 | + <artifactId>log4j</artifactId> |
| 66 | + <version>1.2.16</version> |
| 67 | + </dependency> |
68 | 68 | ``` |
69 | 69 |
|
70 | 70 | 如果不使用 Maven 构建项目,则项目 libs/ 目录下有依赖的 jar 可复制到你的项目里去。 |
|
0 commit comments