| @@ -1,33 +0,0 @@ | |||||
| allprojects { | |||||
| apply plugin: 'maven' | |||||
| group = 'com.github.binarywang' | |||||
| version = '2.6.0' | |||||
| } | |||||
| subprojects { | |||||
| apply plugin: 'java' | |||||
| sourceCompatibility = 1.7 | |||||
| targetCompatibility = 1.7 | |||||
| repositories { | |||||
| mavenLocal() | |||||
| maven { url "http://central.maven.org/maven2" } | |||||
| //maven { url "http://maven.aliyun.com/nexus/content/groups/public" } | |||||
| } | |||||
| dependencies { | |||||
| compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.10' | |||||
| compile group: 'org.apache.httpcomponents', name: 'httpmime', version: '4.5' | |||||
| compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5' | |||||
| compile group: 'com.google.code.gson', name: 'gson', version: '2.7' | |||||
| compile group: 'com.google.guava', name: 'guava', version: '19.0' | |||||
| compile group: 'commons-codec', name: 'commons-codec', version: '1.10' | |||||
| compile group: 'commons-io', name: 'commons-io', version: '2.5' | |||||
| compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4' | |||||
| compile group: 'redis.clients', name: 'jedis', version: '2.9.0' | |||||
| testCompile group: 'ch.qos.logback', name: 'logback-classic', version: '1.1.2' | |||||
| } | |||||
| } | |||||
| @@ -1,10 +0,0 @@ | |||||
| rootProject.name = 'weixin-java-parent' | |||||
| include ':weixin-java-common' | |||||
| include ':weixin-java-cp' | |||||
| include ':weixin-java-mp' | |||||
| include ':weixin-java-pay' | |||||
| project(':weixin-java-common').projectDir = "$rootDir/weixin-java-common" as File | |||||
| project(':weixin-java-cp').projectDir = "$rootDir/weixin-java-cp" as File | |||||
| project(':weixin-java-mp').projectDir = "$rootDir/weixin-java-mp" as File | |||||
| project(':weixin-java-pay').projectDir = "$rootDir/weixin-java-pay" as File | |||||
| @@ -1,11 +0,0 @@ | |||||
| description = 'WeiXin Java Tools - Common' | |||||
| dependencies { | |||||
| compile group: 'com.thoughtworks.xstream', name: 'xstream', version: '1.4.7' | |||||
| testCompile group: 'junit', name: 'junit', version: '4.11' | |||||
| testCompile group: 'org.testng', name: 'testng', version: '6.8.7' | |||||
| testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5' | |||||
| testCompile group: 'com.google.inject', name: 'guice', version: '3.0' | |||||
| testCompile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.0.RC0' | |||||
| testCompile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.3.0.RC0' | |||||
| } | |||||
| test.useTestNG() | |||||
| @@ -1,11 +0,0 @@ | |||||
| description = 'WeiXin Java Tools - CP' | |||||
| dependencies { | |||||
| compile project(':weixin-java-common') | |||||
| testCompile group: 'junit', name: 'junit', version: '4.11' | |||||
| testCompile group: 'org.testng', name: 'testng', version: '6.8.7' | |||||
| testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5' | |||||
| testCompile group: 'com.google.inject', name: 'guice', version: '3.0' | |||||
| testCompile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.0.RC0' | |||||
| testCompile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.3.0.RC0' | |||||
| } | |||||
| test.useTestNG() | |||||
| @@ -1,12 +0,0 @@ | |||||
| description = 'WeiXin Java Tools - MP' | |||||
| dependencies { | |||||
| compile project(':weixin-java-common') | |||||
| testCompile group: 'junit', name: 'junit', version: '4.11' | |||||
| testCompile group: 'org.testng', name: 'testng', version: '6.8.7' | |||||
| testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5' | |||||
| testCompile group: 'com.google.inject', name: 'guice', version: '3.0' | |||||
| testCompile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.0.RC0' | |||||
| testCompile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.3.0.RC0' | |||||
| testCompile group: 'joda-time', name: 'joda-time', version: '2.9.4' | |||||
| } | |||||
| test.useTestNG() | |||||
| @@ -1,12 +0,0 @@ | |||||
| description = 'WeiXin Java Tools - PAY' | |||||
| dependencies { | |||||
| compile project(':weixin-java-common') | |||||
| testCompile group: 'junit', name: 'junit', version: '4.11' | |||||
| testCompile group: 'org.testng', name: 'testng', version: '6.8.7' | |||||
| testCompile group: 'org.mockito', name: 'mockito-all', version: '1.9.5' | |||||
| testCompile group: 'com.google.inject', name: 'guice', version: '3.0' | |||||
| testCompile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.3.0.RC0' | |||||
| testCompile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '9.3.0.RC0' | |||||
| testCompile group: 'joda-time', name: 'joda-time', version: '2.9.4' | |||||
| } | |||||
| test.useTestNG() | |||||