-
Notifications
You must be signed in to change notification settings - Fork 8
/
build.gradle
51 lines (43 loc) · 1.36 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
apply plugin: 'scala'
version = '0.1'
sourceCompatibility = '1.7'
jar.archiveName = "mesos-exhibitor-${version}.jar"
repositories {
mavenCentral()
}
libsDirName = '../'
sourceSets {
main {
scala { srcDirs = ['src/main/scala'] }
}
test {
scala { srcDirs = ['src/main/test'] }
}
}
dependencies {
compile "org.scala-lang:scala-library:2.10.3"
compile "org.apache.mesos:mesos:0.21.1"
compile "com.google.protobuf:protobuf-java:2.5.0"
compile "log4j:log4j:1.2.16"
compile 'com.github.scopt:scopt_2.10:3.3.0'
compile "org.eclipse.jetty:jetty-http:9.0.4.v20130625"
compile "org.eclipse.jetty:jetty-io:9.0.4.v20130625"
compile "org.eclipse.jetty:jetty-security:9.0.4.v20130625"
compile "org.eclipse.jetty:jetty-server:9.0.4.v20130625"
compile "org.eclipse.jetty:jetty-servlet:9.0.4.v20130625"
compile "org.eclipse.jetty:jetty-util:9.0.4.v20130625"
compile "javax.servlet:javax.servlet-api:3.0.1"
compile "com.typesafe.play:play-json_2.10:2.4.1"
testCompile 'junit:junit:4.12'
}
jar {
dependsOn 'test'
doFirst {
from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {
exclude "META-INF/*.SF"
exclude "META-INF/*.DSA"
exclude "META-INF/*.RSA"
}
}
manifest.attributes("Main-Class": "ly.stealth.mesos.exhibitor.Cli")
}