This repository has been archived by the owner on May 21, 2018. It is now read-only.
forked from brndnmtthws/hdfs
-
Notifications
You must be signed in to change notification settings - Fork 52
/
build.gradle
83 lines (66 loc) · 1.84 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
allprojects {
apply plugin: 'idea'
group = "com.apache.mesos.hdfs"
version = "0.1.5"
}
idea {
project {
jdkName = '1.8'
languageLevel = '1.7'
ipr {
withXml { provider ->
provider.node.component
.find { it.@name == 'VcsDirectoryMappings' }
.mapping.@vcs = 'Git'
}
}
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'application'
apply plugin: "jacoco"
apply from: "$rootDir/gradle/quality.gradle"
apply from: "$rootDir/gradle/spock.gradle"
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
mainClassName = "org.apache.mesos.hdfs.scheduler.Main"
ext {
curatorVer = "2.9.0"
mesosVer = "0.24.1"
hadoopVer = "2.5.0"
slf4jVer = "1.7.10"
logbackVer = "1.1.2"
guiceVer = "3.0"
junitVer = "4.11"
mockitoVer = "1.9.5"
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile "org.apache.curator:curator-framework:${curatorVer}"
compile "org.apache.curator:curator-recipes:${curatorVer}"
compile "org.apache.mesos:mesos:${mesosVer}"
compile "org.slf4j:log4j-over-slf4j:${slf4jVer}"
compile "org.slf4j:jcl-over-slf4j:${slf4jVer}"
compile "ch.qos.logback:logback-classic:${logbackVer}"
compile("org.apache.hadoop:hadoop-common:${hadoopVer}") {
exclude group: "log4j", module: "log4j"
exclude group: "org.slf4j", module: "slf4j-log4j12"
exclude group: "javax.servlet", module: "servlet-api"
exclude group: "commons-httpclient", module: "commons-httpclient"
exclude group: "net.java.dev.jets3t", module: "jets3t"
}
compile "com.google.inject:guice:${guiceVer}"
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination "${buildDir}/jacoco"
}
}
}