-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.gradle
66 lines (57 loc) · 1.24 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
plugins {
id 'java-library'
id 'distribution'
}
group 'org.citydb.ade'
version '2.1.0'
description 'Energy ADE extension for the 3DCityDB'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
configurations {
citygml4j
}
repositories {
maven {
url 'https://3dcitydb.org/maven'
}
maven {
url 'https://repo.osgeo.org/repository/release'
}
mavenCentral()
}
dependencies {
api 'org.citydb:impexp-client-gui:5.5.0'
api 'org.citygml4j.ade:energy-ade-citygml4j:1.1.0'
citygml4j('org.citygml4j.ade:energy-ade-citygml4j:1.1.0') {
transitive = false
}
}
jar {
manifest {
attributes('Implementation-Title': project.name,
'Implementation-Version': project.version
)
}
into('META-INF') {
from 'LICENSE'
}
}
distributions.main {
distributionBaseName = 'energy-ade'
contents {
from 'README.md'
into('lib') {
from jar
from configurations.citygml4j
}
into('schema-mapping') {
from "$rootDir/resources/database/schema-mapping"
}
into('3dcitydb') {
from "$rootDir/resources/database/3dcitydb"
}
}
}