Skip to content

Commit ee158b6

Browse files
committed
添加Gradle的使用说明部分
1 parent c449e87 commit ee158b6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,9 @@
4040
- [【企业号】](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.github.binarywang%22%20AND%20a%3A%22weixin-java-cp%22)
4141

4242

43-
## Quick Start
44-
45-
* 如果要开发公众号(订阅号、服务号)应用,在你的maven项目中添加:
43+
## Maven & Gradle
4644

45+
* 公众号(订阅号、服务号):
4746
```xml
4847
<dependency>
4948
<groupId>com.github.binarywang</groupId>
@@ -52,8 +51,11 @@
5251
</dependency>
5352
```
5453

55-
* 如果要开发企业号应用,在你的maven项目中添加:
54+
```groovy
55+
compile 'com.github.binarywang:weixin-java-mp:2.0.0'
56+
```
5657

58+
* 企业号:
5759
```xml
5860
<dependency>
5961
<groupId>com.github.binarywang</groupId>
@@ -62,6 +64,10 @@
6264
</dependency>
6365
```
6466

67+
```groovy
68+
compile 'com.github.binarywang:weixin-java-cp:2.0.0'
69+
```
70+
6571
## 关于代码贡献
6672

6773
* 非常欢迎和感谢对本项目发起Pull Request的同学,本项目可以采用两种方式接受代码贡献:

0 commit comments

Comments
 (0)