-
Notifications
You must be signed in to change notification settings - Fork 42
Expand file tree
/
Copy pathbuild.gradle
More file actions
129 lines (110 loc) · 4.18 KB
/
build.gradle
File metadata and controls
129 lines (110 loc) · 4.18 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
subprojects {
group "com.gaia3d"
version "1.15.6"
apply plugin: 'java'
project.ext.lwjglVersion = "3.3.6"
repositories {
maven { url "https://repo.osgeo.org/repository/release/" }
mavenCentral()
}
dependencies {
/* Lombok */
compileOnly "org.projectlombok:lombok:1.18.30"
annotationProcessor "org.projectlombok:lombok:1.18.30"
/* Logging */
implementation 'org.slf4j:slf4j-api:1.7.25'
implementation 'org.apache.logging.log4j:log4j-core:2.20.0'
implementation 'org.apache.logging.log4j:log4j-api:2.20.0'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.20.0'
/* Jackson for JSON and XML processing */
implementation "com.fasterxml.jackson.core:jackson-core:2.15.2"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.15.2"
/* Math library */
implementation "org.joml:joml:1.10.8"
/* Geospatial libraries */
implementation "org.locationtech.proj4j:proj4j:1.4.1"
implementation "org.locationtech.proj4j:proj4j-epsg:1.4.1"
implementation platform("org.geotools:gt-bom:34.0")
implementation "org.geotools:gt-shapefile"
implementation "org.geotools:gt-geotiff"
implementation "org.geotools:gt-geoparquet"
implementation "org.geotools:gt-geopkg"
implementation "org.geotools:gt-geojson"
implementation "org.geotools:gt-coverage"
implementation "org.geotools:gt-main"
implementation "org.geotools:gt-image"
implementation "org.geotools:gt-grid"
implementation "org.geotools:gt-process"
implementation "org.geotools:gt-process-raster"
implementation "org.geotools:gt-process-feature"
implementation "org.geotools:gt-epsg-hsql"
implementation "com.github.jai-imageio:jai-imageio-core:1.4.0"
implementation "org.jdom:jdom2:2.0.6.1"
/* Apache commons */
implementation 'commons-logging:commons-logging:1.2'
implementation 'commons-io:commons-io:2.11.0'
implementation 'commons-cli:commons-cli:1.5.0'
implementation 'commons-collections:commons-collections:3.2.2'
implementation 'org.apache.commons:commons-text:1.10.0'
/* Development libraries */
testCompileOnly "org.projectlombok:lombok:1.18.30"
testAnnotationProcessor "org.projectlombok:lombok:1.18.30"
testImplementation platform("org.junit:junit-bom:5.10.0")
testImplementation "org.junit.jupiter:junit-jupiter-api"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine"
testRuntimeOnly "org.junit.platform:junit-platform-launcher"
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}
}
project(':mago-common') {
// Common module
}
project(':mago-io') {
dependencies {
implementation project(':mago-common')
}
}
project(':mago-tiler') {
dependencies {
implementation project(':mago-common')
implementation project(':mago-io')
implementation project(':mago-tiler-extension')
}
}
// Extension module build configuration
project(':mago-tiler-extension') {
dependencies {
implementation project(':mago-common')
}
}
// Extension module build configuration
project(':mago-tiler-non-extension') {
dependencies {
implementation project(':mago-common')
}
}
tasks.register('release') {
dependsOn(':mago-tiler:test')
dependsOn(':mago-tiler:javadoc')
dependsOn(':mago-tiler:jib')
}
tasks.register('all-javadoc', Javadoc) {
group = 'Documentation'
description = 'Generates Javadoc for mago-3d-tiler module.'
def includedProjects = [
project(':mago-tiler'),
project(':mago-common'),
project(':mago-io'),
project(':mago-tiler-extension')
]
source = files(includedProjects.collect { it.sourceSets.main.allJava })
classpath = files(includedProjects.collect { it.sourceSets.main.compileClasspath })
destinationDir = file("/docs/")
options.encoding = 'UTF-8'
options.memberLevel = JavadocMemberLevel.PUBLIC
options.addStringOption('Xdoclint:none', '-quiet')
}