-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
29 lines (25 loc) · 944 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
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'eclipse'
// adding 'clean' here disables the otherwise intelligent detection if tests
// need to be re-run.
defaultTasks 'clean', 'build'
def compilerArgs = ['-Xlint:unchecked', '-Xlint:deprecation', '-g']
compileJava.options.compilerArgs = compilerArgs
compileTestJava.options.compilerArgs = compilerArgs
task wrapper(type: Wrapper) {
gradleVersion = '1.0-milestone-5-20111008000006+0200'
}
// http://repo.gradle.org/gradle/distributions-snapshots/gradle-1.0-milestone-5-20111008000006+0200-src.zip
repositories {
mavenCentral()
flatDir(dirs: file('lib'))
// lib contains zookeeper files from http://svn.apache.org/repos/asf/zookeeper/trunk/ rev 1178579.
}
dependencies {
testCompile 'org.slf4j:slf4j-api:1.6.2'
testCompile 'ch.qos.logback:logback-classic:0.9.30'
testCompile 'junit:junit:4.10'
testCompile ':zookeeper:3.4.0'
testCompile ':zookeeper-test:3.4.0'
}