forked from mesosphere-backup/hdfs-deprecated
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
73 lines (57 loc) · 1.67 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
allprojects {
apply plugin: 'idea'
group = "com.apache.mesos.hdfs"
version = "0.1.4"
}
idea {
project {
languageLevel = '1.7'
ipr {
withXml { provider ->
provider.node.component
.find { it.@name == 'VcsDirectoryMappings' }
.mapping.@vcs = 'Git'
}
}
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'application'
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 {
mesosVer = "0.22.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.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 "com.google.code.findbugs:annotations:3.0.0"
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}"
testCompile "junit:junit:${junitVer}"
testCompile "org.mockito:mockito-all:${mockitoVer}"
}
}