Skip to content

Commit

Permalink
Fixed gradle file. (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasnet authored Oct 17, 2024
1 parent 0d8c2c4 commit 565a815
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ kotlin {
}
}

tasks.named('test') {
tasks.withType<Test> {
useJUnitPlatform()
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ kotlin {
}
}

tasks.named('test') {
tasks.withType<Test> {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.named('test') {
tasks.withType<Test> {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ kotlin {
}
}

tasks.named('test') {
tasks.withType<Test> {
useJUnitPlatform()
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.named('test') {
tasks.withType<Test> {
useJUnitPlatform()
}
2 changes: 1 addition & 1 deletion src/generator/spring/template/build.gradle.kts.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ kotlin {
}

{%- endif -%}
tasks.named('test') {
tasks.withType<Test> {
useJUnitPlatform()
}
{%- if dependenciesIds contains "data-jpa" and dependenciesIds contains "native" -%}
Expand Down

0 comments on commit 565a815

Please sign in to comment.