forked from eBay/myriad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
73 lines (56 loc) · 1.63 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'
}
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/spock.gradle"
apply from: "$rootDir/gradle/quality.gradle"
sourceCompatibility = '1.7'
targetCompatibility = '1.7'
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
mainClassName = "com.ebay.myriad.Main"
group = "com.ebay.myriad"
version = "0.0.1"
ext {
mesosVer = "0.21.1"
hadoopVer = "2.5.0"
metricsVer = "3.1.0"
}
configurations.create('myriadExecutorConf')
configurations {
provided
capsule
myriadExecutorConf
myriadExecutorConf.transitive = false
// exclude hadoop/yarn deps for 'runtime'
runtime.exclude group: 'org.apache.hadoop', module: '*'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
capsule "co.paralleluniverse:capsule:0.7.1"
myriadExecutorConf 'org.slf4j:slf4j-log4j12:1.7.10'
compile "org.apache.mesos:mesos:${mesosVer}"
compile 'com.google.code.gson:gson:2.3.1' // marshalling between the scheduler and executor
testCompile 'junit:junit:4.12'
testCompile 'commons-collections:commons-collections:3.2.1'
}
run {
systemProperty "myriad.config", "build/resources/main/myriad-config-default.yml"
}
}