添加Gradle的使用说明部分

This commit is contained in:
BinaryWang 2016-08-30 19:37:10 +08:00
parent c449e87e5c
commit ee158b6e95

View File

@ -40,10 +40,9 @@
- [【企业号】](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.github.binarywang%22%20AND%20a%3A%22weixin-java-cp%22)
## Quick Start
* 如果要开发公众号订阅号、服务号应用在你的maven项目中添加
## Maven & Gradle
* 公众号(订阅号、服务号):
```xml
<dependency>
<groupId>com.github.binarywang</groupId>
@ -52,8 +51,11 @@
</dependency>
```
* 如果要开发企业号应用在你的maven项目中添加
```groovy
compile 'com.github.binarywang:weixin-java-mp:2.0.0'
```
* 企业号:
```xml
<dependency>
<groupId>com.github.binarywang</groupId>
@ -62,6 +64,10 @@
</dependency>
```
```groovy
compile 'com.github.binarywang:weixin-java-cp:2.0.0'
```
## 关于代码贡献
* 非常欢迎和感谢对本项目发起Pull Request的同学本项目可以采用两种方式接受代码贡献