-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
47 lines (36 loc) · 975 Bytes
/
build.gradle.kts
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
plugins {
kotlin("jvm") version "1.5.21"
application
id("com.github.johnrengelman.shadow") version "7.0.0" // fat jar support
}
group = "soroko.gesrep"
version = "1.1-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.12.4")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-xml:2.12.4")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<KotlinCompile>() {
kotlinOptions.jvmTarget = "1.8"
}
application {
mainClass.set("soroko.gesrep.MainKt")
}
tasks.withType<ShadowJar> {
manifest {
attributes(
mapOf(
"ImplementationTitle" to project.name,
"Implementation-Version" to project.version
)
)
}
}