Bumped Kotlin to version 2.1.0

This commit is contained in:
Erik C. Thauvin 2024-11-28 11:02:42 -08:00
parent 35f7f73a24
commit 22db48da7a
Signed by: erik
GPG key ID: 776702A6A2DA330E
3 changed files with 7 additions and 7 deletions

View file

@ -30,13 +30,13 @@ public class ExampleBuild extends Project {
autoDownloadPurge = true;
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL, RIFE2_RELEASES);
final var kotlin = version(2, 0, 21);
final var kotlin = version(2, 1, 0);
scope(compile)
.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, 11, 2)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 11, 2)));
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 11, 3)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 11, 3)));
// Include the Kotlin source directory when creating or publishing sources Java Archives
jarSourcesOperation().sourceDirectories(new File(srcMainDirectory(), "kotlin"));