-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
40 lines (34 loc) · 1013 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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.0"
application
}
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib"))
implementation(platform("com.squareup.okhttp3:okhttp-bom:4.9.3"))
implementation("com.squareup.okhttp3:okhttp")
implementation("com.fasterxml.jackson.module:jackson-module-kotlin:2.13.4")
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:2.13.4")
implementation("com.jayway.jsonpath:json-path:2.7.0")
implementation("org.slf4j:slf4j-simple:2.0.3")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<ProcessResources> {
eachFile {
if (name == "version.properties") {
filter { line ->
line.replace("%project.version%", "${project.version}")
}
}
}
}
application {
mainClass.set("com.dimdarkevil.glasnik.Glasnik")
applicationName = "glasnik"
}