forked from hackreduce/Hackathon
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
80 lines (67 loc) · 1.73 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
version = '0.3'
// Modify these values if you want to build against different versions of Hadoop
hadoop_version = '0.20.2'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'eclipse'
apply plugin: 'idea'
group = 'org.hackreduce'
sourceCompatibility = 1.6
defaultTasks "clean", "jar"
jar {
manifest {
attributes 'Implementation-Title': 'HackReduce', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
}
dependencies {
compile 'org.apache.hadoop:hadoop-core:' + hadoop_version
compile 'org.apache.hadoop:hadoop-streaming:' + hadoop_version
compile 'org.apache.hadoop:hadoop-tools:' + hadoop_version
compile 'org.apache.hadoop:hadoop-test:' + hadoop_version
}
def pomConfig = {
name 'HackReduce'
description 'HackReduce related code'
url 'http://hackreduce.org'
organization {
name 'Hopper Travel'
url 'http://hopper.travel'
}
issueManagement {
system 'Github'
url 'https://github.com/hoppertravel/HackReduce/issues'
}
scm {
url "https://github.com/hoppertravel/HackReduce"
connection "scm:git:http://github.com/hoppertravel/HackReduce.git"
developerConnection "scm:git:git@github.com:hoppertravel/HackReduce.git"
}
licenses {
license {
name 'MIT License'
url 'http://www.opensource.org/licenses/mit-license.php'
distribution 'repo'
}
}
developers {
developer {
id 'hopper-team'
name 'The Hopper Travel Team'
organization 'Hopper Travel'
organizationUrl 'http://hopper.travel'
}
}
}
configure(install.repositories.mavenInstaller) {
pom.project pomConfig
}
task sourcesJar(type: Jar, dependsOn: compileJava) {
from sourceSets.main.allSource
classifier = 'sources'
}
artifacts {
archives sourcesJar
}