Bumped JUnit versions

This commit is contained in:
Erik C. Thauvin 2024-02-25 18:52:26 -08:00
parent 4b9ab05cff
commit 719467f6bc
2 changed files with 9 additions and 7 deletions

View file

@ -28,8 +28,10 @@ public class ExampleBuild extends Project {
version = version(0, 1, 0);
javaRelease = 17;
downloadSources = true;
autoDownloadPurge = true;
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL, RIFE2_RELEASES);
final var kotlin = version(1, 9, 22);
@ -37,8 +39,8 @@ public class ExampleBuild extends Project {
.include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", kotlin));
scope(test)
.include(dependency("org.jetbrains.kotlin", "kotlin-test-junit5", kotlin))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 1)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 1)));
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 2)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 2)));
// Include the Kotlin source directory when creating or publishing sources Java Archives
jarSourcesOperation().sourceDirectories(new File(srcMainDirectory(), "kotlin"));
@ -115,4 +117,4 @@ public class ExampleBuild extends Project {
.outputFormat(OutputFormat.JAVADOC)
.execute();
}
}
}