-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
63 lines (46 loc) · 1.5 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
plugins {
id("java")
id("me.champeau.jmh") version "0.7.2"
}
jmh {
iterations = 3
warmupIterations = 1
threads = 1
jvmArgs.add("-Djava.util.logging.config.file=src/main/resources/logging.properties")
// includes = listOf("HibernateRequestBenchmark")
}
group = "com.tngtech"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
compileOnly("org.projectlombok:lombok:1.18.30")
annotationProcessor("org.projectlombok:lombok:1.18.30")
testCompileOnly("org.projectlombok:lombok:1.18.30")
testAnnotationProcessor("org.projectlombok:lombok:1.18.30")
testImplementation(platform("org.junit:junit-bom:5.9.1"))
testImplementation("org.junit.jupiter:junit-jupiter")
implementation("org.postgresql:postgresql:42.5.1")
implementation("com.zaxxer:HikariCP:5.1.0")
implementation("org.openjdk.jmh:jmh-core:1.33")
implementation("org.openjdk.jmh:jmh-generator-annprocess:1.33")
implementation("io.projectreactor:reactor-core:3.4.10")
implementation("io.r2dbc:r2dbc-spi:1.0.0.RELEASE")
implementation("io.r2dbc:r2dbc-pool:1.0.1.RELEASE")
implementation("org.postgresql:r2dbc-postgresql:1.0.4.RELEASE")
implementation("org.hibernate.orm:hibernate-core:6.4.4.Final")
implementation("org.hibernate.orm:hibernate-hikaricp:6.4.4.Final")
}
tasks.withType<JavaCompile> {
}
tasks.test {
useJUnitPlatform()
}
tasks.withType<JavaExec> {
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(21))
}
}