-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathbuild.gradle
More file actions
122 lines (100 loc) · 4.04 KB
/
Copy pathbuild.gradle
File metadata and controls
122 lines (100 loc) · 4.04 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
subprojects {
group "com.gaia3d"
version '1.14.2-release'
apply plugin: 'java'
project.ext.lwjglVersion = "3.3.6"
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 "org.geotools:gt-iau-wkt"
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)
}
}
tasks.withType(JavaCompile).configureEach {
options.release = 21
}
configurations.configureEach {
exclude group: "javax.media", module: "jai_core"
exclude group: "javax.media", module: "jai_codec"
exclude group: "javax.media", module: "jai_imageio"
}
}
project(':mago-common') {
// Common module build configuration
}
project(':mago-io') {
// Common module build configuration
dependencies {
implementation project(':mago-common')
}
}
project(':mago-terrainer') {
dependencies {
implementation project(':mago-common')
implementation project(':mago-io')
}
}
tasks.register('releaseDocker') {
dependsOn(':mago-terrainer:javadoc')
dependsOn(':mago-terrainer:jib')
}
tasks.register('release') {
dependsOn(':mago-terrainer:jib')
}
tasks.register('javadocs', Javadoc) {
group = 'Documentation'
description = 'Generates Javadoc for mago-terrainer module.'
def includedProjects = [project(':mago-terrainer'),
project(':mago-common'),]
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')
}