-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
32 lines (24 loc) · 973 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
group 'com.example'
version '1.0-SNAPSHOT'
apply plugin: 'java'
apply plugin: 'war'
sourceCompatibility = 1.8
repositories {
// mavenCentral()
//国内镜像,下载要快点
maven{ url'http://maven.aliyun.com/nexus/content/groups/public/'}
}
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'com.alibaba', name: 'dubbo', version: '2.5.3'
compile group: 'org.apache.zookeeper', name: 'zookeeper', version: '3.4.6', ext: 'pom'
compile group: 'io.netty', name: 'netty-all', version: '4.0.35.Final'
compile group: 'org.apache.curator', name: 'curator-recipes', version: '2.12.0'
// https://mvnrepository.com/artifact/com.101tec/zkclient
compile group: 'com.101tec', name: 'zkclient', version: '0.2'
}
task createdirs() {
sourceSets*.java.srcDirs*.each { it.mkdirs() }
sourceSets*.resources.srcDirs*.each { it.mkdirs() }
}