-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
50 lines (42 loc) · 821 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
apply plugin: 'java'
apply plugin: 'eu.appsatori.fatjar'
apply plugin: 'idea'
sourceCompatibility = "1.6"
targetCompatibility = "1.6"
//change this value here
archivesBaseName = 'mapreducer'
buildscript {
repositories {
mavenCentral()
jcenter()
}
dependencies {
classpath 'eu.appsatori:gradle-fatjar-plugin:0.3'
}
}
repositories {
mavenCentral()
maven {
url "https://repository.cloudera.com/artifactory/cloudera-repos/"
}
}
dependencies{
compile 'org.apache.hadoop:hadoop-client:2.0.0-mr1-cdh4.1.2', {
ext {
fatJarExclude = true
}
}
compile 'org.slf4j:slf4j-api:1.7.3', {
ext {
fatJarExclude = true
}
}
compile 'commons-cli:commons-cli:1.2', {
ext {
fatJarExclude = true
}
}
}
fatJar {
exclude 'META-INF/*.DSA'
}