Updated dependencies

Bumped Kotlin to version 2.0.21
Bumped JUnit to version 5.11.2
This commit is contained in:
Erik C. Thauvin 2024-10-10 14:30:23 -07:00
parent 4c7316f76a
commit 35f7f73a24
Signed by: erik
GPG key ID: 776702A6A2DA330E
4 changed files with 9 additions and 7 deletions

View file

@ -52,10 +52,11 @@ jobs:
- image: cimg/openjdk:21.0
steps:
- build_and_test:
kotlin: 2.0.20
kotlin: 2.0.21
workflows:
bld:
jobs:
- bld_jdk17
- bld_jdk21

View file

@ -11,8 +11,8 @@ jobs:
strategy:
matrix:
java-version: [ 17, 21, 22 ]
kotlin-version: [ 1.19.24, 2.0.20 ]
java-version: [ 17, 21, 23 ]
kotlin-version: [ 1.19.24, 2.0.21 ]
steps:
- name: Checkout source repository

1
.idea/misc.xml generated
View file

@ -10,6 +10,7 @@
<pattern value="com.example.ExampleBuild" method="detektBaseline" />
<pattern value="com.example.ExampleBuild" method="detektMain" />
<pattern value="com.example.ExampleBuild" method="detektTest" />
<pattern value="com.example.ExampleBuild" method="docs" />
</component>
<component name="PDMPlugin">
<option name="customRuleSets">

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, 20);
final var kotlin = version(2, 0, 21);
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, 0)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 11, 0)));
.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 the Kotlin source directory when creating or publishing sources Java Archives
jarSourcesOperation().sourceDirectories(new File(srcMainDirectory(), "kotlin"));