Skip to content

Commit 83b763f

Browse files
committed
Fix Gradle setup when dependency is vertx-unit
1 parent ec8369a commit 83b763f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/resources/templates/build.gradle.kts.ftl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ tasks.withType<ShadowJar> {
120120
}
121121

122122
tasks.withType<Test> {
123-
<#if hasVertxJUnit5>
123+
<#if language == "scala">
124+
useJUnitPlatform()
125+
<#elseif hasVertxJUnit5>
124126
useJUnitPlatform()
125127
<#elseif hasVertxUnit>
126128
useJUnit()

0 commit comments

Comments
 (0)