-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
47 lines (39 loc) · 1.15 KB
/
build.gradle.kts
File metadata and controls
47 lines (39 loc) · 1.15 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
import org.gradle.api.tasks.testing.logging.TestLogEvent
plugins {
id("com.gradleup.shadow") version "9.4.1"
java
}
java {
sourceCompatibility = JavaVersion.VERSION_21
}
repositories {
mavenCentral()
}
dependencies {
implementation("com.fasterxml.jackson.core:jackson-databind:2.21.2")
implementation("commons-codec:commons-codec:1.21.0")
implementation("io.javalin:javalin:7.1.0")
implementation("org.locationtech.spatial4j:spatial4j:0.8")
implementation("org.slf4j:slf4j-simple:2.0.17")
testImplementation("org.junit.jupiter:junit-jupiter:5.14.3")
testImplementation("net.jqwik:jqwik:1.9.3")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}
tasks.test {
useJUnitPlatform {
includeEngines("jqwik", "junit-jupiter")
}
testLogging {
events("passed", "skipped", "failed")
showStandardStreams = true
showExceptions = true
}
}
tasks.withType<JavaCompile> {
options.compilerArgs.add("-Xlint:unchecked")
options.compilerArgs.add("-Xlint:deprecation")
options.compilerArgs.add("-Werror")
}
tasks.jar {
manifest.attributes["Main-Class"] = "MapServer"
}