File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
gradle-kotlin-dsl-example Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -67,11 +67,13 @@ See [example Groovy Gradle project](https://github.com/helmethair-co/scalatest-j
6767build.gradle.kts
6868``` kotlin
6969.. .
70- tasks.withType<Test > {
71- useJUnitPlatform {
72- includeEngines(" scalatest" )
73- testLogging {
74- events(" passed" , " skipped" , " failed" )
70+ tasks {
71+ test{
72+ useJUnitPlatform {
73+ includeEngines(" scalatest" )
74+ testLogging {
75+ events(" passed" , " skipped" , " failed" )
76+ }
7577 }
7678 }
7779}
Original file line number Diff line number Diff line change @@ -17,11 +17,13 @@ dependencies {
1717 testRuntimeOnly(" co.helmethair:scalatest-junit-runner:0.1.8" )
1818}
1919
20- tasks.withType<Test > {
21- useJUnitPlatform {
22- includeEngines(" scalatest" )
23- testLogging {
24- events(" passed" , " skipped" , " failed" )
20+ tasks {
21+ test{
22+ useJUnitPlatform {
23+ includeEngines(" scalatest" )
24+ testLogging {
25+ events(" passed" , " skipped" , " failed" )
26+ }
2527 }
2628 }
2729}
You can’t perform that action at this time.
0 commit comments