-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
59 lines (50 loc) · 1.5 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
plugins {
id "java"
id "application"
}
group "net.mojodna.osm2orc"
version "0.6.1"
application {
mainClass = "net.mojodna.osm2orc.Osm2Orc"
}
distributions {
main {
contents {
// omit dependenciess (they're included in the aseembly) by
// targeting our JAR + generated wrapper scripts
include "**/osm2orc*"
}
}
}
dependencies {
compileOnly group: "org.openstreetmap.osmosis", name: "osmosis-core", version: "0.49.1"
compileOnly group: "org.openstreetmap.osmosis", name: "osmosis-xml", version: "0.49.1"
implementation group: "de.topobyte", name: "osm4j-pbf", version: "1.3.0"
implementation group: "de.topobyte", name: "osm4j-core", version: "1.3.0"
implementation group: "org.apache.orc", name: "orc-core", version: "1.8.4"
implementation group: "org.apache.hadoop", name: "hadoop-common", version: "3.3.6"
runtimeOnly group: "org.apache.hadoop", name: "hadoop-aws", version: "3.3.6"
runtimeOnly group: "org.apache.hadoop", name: "hadoop-hdfs-client", version: "3.3.6"
}
jar {
manifest {
attributes(
"Main-Class": "net.mojodna.osm2orc.Osm2Orc"
)
}
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
archiveClassifier = "all"
duplicatesStrategy "exclude"
zip64 true
}
repositories {
mavenCentral()
maven {
url "https://mvn.topobyte.de"
}
maven {
url "https://mvn.slimjars.com"
}
}