forked from elastic/elasticsearch-hadoop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (37 loc) · 1.39 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
apply plugin: 'es.hadoop.build.integration'
description = "Elasticsearch Hadoop Pig"
evaluationDependsOn(':elasticsearch-hadoop-mr')
configurations {
embedded {
transitive = false
canBeResolved = true
}
implementation {
extendsFrom project.configurations.embedded
}
}
ext.pigClassifier = "h2"
dependencies {
embedded(project(":elasticsearch-hadoop-mr"))
implementation("org.apache.pig:pig:$pigVersion:$pigClassifier")
implementation("joda-time:joda-time:$jodaVersion")
implementation("commons-logging:commons-logging:1.1.1")
implementation("javax.xml.bind:jaxb-api:2.3.1")
testImplementation(project(":test:shared"))
testImplementation("org.apache.pig:pig:$pigVersion:$pigClassifier")
testImplementation("joda-time:joda-time:$jodaVersion")
testImplementation("com.google.guava:guava:11.0")
testImplementation("jline:jline:0.9.94")
itestImplementation(project(":test:shared"))
itestImplementation("dk.brics.automaton:automaton:1.11-8")
additionalSources(project(":elasticsearch-hadoop-mr"))
javadocSources(project(":elasticsearch-hadoop-mr"))
}
jar {
dependsOn(project.configurations.embedded)
from(project.configurations.embedded.collect { it.isDirectory() ? it : zipTree(it)}) {
include "org/elasticsearch/hadoop/**"
include "esh-build.properties"
include "META-INF/services/*"
}
}