-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
43 lines (33 loc) · 1.04 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
plugins {
kotlin("jvm") version "2.0.21"
id("me.champeau.jmh") version "0.7.2" apply false
}
group = "org.github.seonwkim"
version = "0.0.1-SNAPSHOT"
repositories {
mavenCentral()
}
subprojects {
apply(plugin = "org.jetbrains.kotlin.jvm")
repositories {
mavenCentral()
}
dependencies {
implementation("com.google.guava:guava:33.3.1-jre")
implementation("com.github.ben-manes.caffeine:caffeine:3.1.8")
implementation("com.fasterxml.jackson.core:jackson-databind:2.18.1")
implementation("ch.qos.logback:logback-classic:1.5.12")
implementation("io.github.microutils:kotlin-logging:2.0.4")
testImplementation("org.openjdk.jmh:jmh-core:1.36")
testImplementation("org.openjdk.jmh:jmh-generator-annprocess:1.37")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
// run test in parallel
maxParallelForks = minOf(Runtime.getRuntime().availableProcessors(), 5)
}
kotlin {
jvmToolchain(21)
}
}