Skip to content

Commit

Permalink
Merge pull request #118 from koral--/maintenance
Browse files Browse the repository at this point in the history
Fix JUnit dependency adding
  • Loading branch information
koral-- authored Nov 28, 2023
2 parents ba2132d + 26d2a6c commit e3d82c8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,7 @@ class PitestPlugin implements Plugin<Project> {
}

private void addJUnitPlatformLauncherDependencyIfNeeded() {
project.configurations.maybeCreate("testImplementation")
project.configurations.named("testImplementation").configure { testImplementation ->
testImplementation.withDependencies { directDependencies ->
if (!pitestExtension.addJUnitPlatformLauncher.isPresent() || !pitestExtension.addJUnitPlatformLauncher.get()) {
Expand Down

0 comments on commit e3d82c8

Please sign in to comment.