Skip to content

Commit 765d643

Browse files
committed
[+] Add Junit test platform to build.gradle
1 parent 51c905b commit 765d643

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

build.gradle

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ repositories {
1818
dependencies {
1919
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
2020
implementation "org.fusesource.jansi:jansi:1.18"
21+
22+
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.6.2'
23+
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.6.2'
2124
}
2225

2326
compileKotlin {
@@ -28,6 +31,10 @@ compileTestKotlin {
2831
kotlinOptions.jvmTarget = "1.8"
2932
}
3033

34+
test {
35+
useJUnitPlatform()
36+
}
37+
3138
// ########## //
3239
// Publishing //
3340
// ########## //

0 commit comments

Comments
 (0)