Skip to content

Commit

Permalink
Use Gradle task type instead of its name while configuring
Browse files Browse the repository at this point in the history
  • Loading branch information
valfirst committed Feb 22, 2024
1 parent e2b14e4 commit 9cf5824
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ configurations.all {
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
tasks.named('test') {

tasks.withType(Test).configureEach {
useJUnitPlatform()
}

Expand Down

0 comments on commit 9cf5824

Please sign in to comment.