Skip to content

Commit 5ef9f76

Browse files
committed
Init kotest.
1 parent 855b748 commit 5ef9f76

3 files changed

Lines changed: 3 additions & 11 deletions

File tree

build.gradle.kts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2-
31
plugins {
42
java
53
alias(libs.plugins.test.logger) apply false
@@ -41,11 +39,4 @@ allprojects {
4139
subprojects {
4240
apply(plugin = "com.tailrocks.java")
4341
apply(plugin = "com.tailrocks.junit")
44-
45-
dependencies {
46-
// JUnit
47-
implementation(platform(rootProject.libs.boms.junit))
48-
testImplementation("org.junit.jupiter:junit-jupiter-api")
49-
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
50-
}
5142
}

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[versions]
22
# Libraries
3-
junit = "5.9.1"
3+
kotest = "5.5.4"
44
graphql-java = "18.3"
55
graphql-kickstart-spring-boot = "14.1.0"
66
commons-text = "1.10.0"
@@ -9,7 +9,6 @@ dgs = "5.4.3"
99

1010
[libraries]
1111
# BOMs
12-
boms-junit = { module = "org.junit:junit-bom", version.ref = "junit" }
1312
boms-spring-boot = { module = "org.springframework.boot:spring-boot-dependencies", version.ref = "spring-boot" }
1413
boms-dgs = { module = "com.netflix.graphql.dgs:graphql-dgs-platform-dependencies", version.ref = "dgs" }
1514

@@ -19,6 +18,7 @@ commons-text = { module = "org.apache.commons:commons-text", version.ref = "comm
1918
graphql-java = { module = "com.graphql-java:graphql-java", version.ref = "graphql-java" }
2019
tailrocks-maven-publish-conventions = { module = "com.tailrocks.gradle:maven-publish-conventions", version = "0.2.0" }
2120
tailrocks-signing-conventions = { module = "com.tailrocks.gradle:signing-conventions", version = "0.2.0" }
21+
kotest-runner-junit = { module = "io.kotest:kotest-runner-junit5", version.ref = "kotest" }
2222

2323
[plugins]
2424
test-logger = { id = "com.adarshr.test-logger", version = "3.2.0" }

graphql-java-datetime/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ plugins {
66

77
dependencies {
88
api(libs.graphql.java)
9+
testImplementation(libs.kotest.runner.junit)
910
}

0 commit comments

Comments
 (0)