-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
63 lines (54 loc) · 2.11 KB
/
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
description = "A Java client for KServe inference services."
plugins {
`java-library`
id("com.bakdata.release") version "1.6.1"
id("com.bakdata.sonar") version "1.6.1"
id("com.bakdata.sonatype") version "1.7.1"
id("io.freefair.lombok") version "8.11"
id("java-test-fixtures")
}
group = "com.bakdata.kserve"
tasks.withType<Test> {
maxParallelForks = 4
useJUnitPlatform()
}
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(11)
}
}
dependencies {
implementation(group = "org.jsoup", name = "jsoup", version = "1.18.3")
implementation(group = "com.fasterxml.jackson.core", name = "jackson-databind", version = "2.18.2")
val okHttpVersion: String by project
implementation(group = "com.squareup.okhttp3", name = "okhttp", version = okHttpVersion)
implementation(group = "org.json", name = "json", version = "20250107")
implementation(group = "io.github.resilience4j", name = "resilience4j-retry", version = "1.7.1")
implementation(group = "org.slf4j", name = "slf4j-api", version = "2.0.16")
val junitVersion: String by project
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-api", version = junitVersion)
testImplementation(group = "org.junit.jupiter", name = "junit-jupiter-params", version = junitVersion)
testRuntimeOnly(group = "org.junit.jupiter", name = "junit-jupiter-engine", version = junitVersion)
testImplementation(group = "org.assertj", name = "assertj-core", version = "3.27.2")
testImplementation(group = "com.squareup.okhttp3", name = "mockwebserver", version = okHttpVersion)
testFixturesImplementation(group = "com.squareup.okhttp3", name = "mockwebserver", version = okHttpVersion)
}
configure<com.bakdata.gradle.SonatypeSettings> {
developers {
developer {
name.set("Victor Künstler")
id.set("VictorKuenstler")
}
developer {
name.set("Alejandro Jaramillo")
id.set("irux")
}
developer {
name.set("Jakob Edding")
id.set("jakob-ed")
}
}
}