-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
39 lines (28 loc) · 1.23 KB
/
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
33
34
35
36
37
38
39
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java Library project to get you started.
* For more details take a look at the Java Libraries chapter in the Gradle
* user guide available at https://docs.gradle.org/5.0/userguide/java_library_plugin.html
*/
plugins {
// Apply the java-library plugin to add support for Java Library
id 'java-library'
}
repositories {
// Use jcenter for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
// jcenter()
mavenLocal() //先从本地开始找jar包,找不到再从远端仓库找
maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' }
maven { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
}
dependencies {
//netty
compile group: 'io.netty', name: 'netty-all', version: '4.1.39.Final'
compile group: 'com.google.protobuf', name: 'protobuf-java', version: '3.6.1'
compile group: 'org.apache.zookeeper', name: 'zookeeper', version: '3.5.5'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
testCompile group: 'org.testng', name: 'testng', version: '7.0.0'
testCompile group: 'junit', name: 'junit', version: '4.12'
}