Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Use configureEach instead of all in test.suites
Browse files Browse the repository at this point in the history
This is the officially documented syntax.
  • Loading branch information
rkrisztian committed Aug 26, 2023
1 parent fb94dbf commit 56b98fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ dependencies {

testing {
suites {
all {
configureEach {
useJUnitJupiter()

dependencies {
implementation 'org.spockframework:spock-core:2.3-groovy-3.0'
}

useJUnitJupiter()

targets.all {
testTask.configure() {
testLogging { events 'skipped', 'failed' }
Expand Down

0 comments on commit 56b98fa

Please sign in to comment.