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 - image: cimg/openjdk:21.0
steps: steps:
- build_and_test: - build_and_test:
kotlin: 2.0.20 kotlin: 2.0.21
workflows: workflows:
bld: bld:
jobs: jobs:
- bld_jdk17 - bld_jdk17
- bld_jdk21 - bld_jdk21

View file

@ -11,8 +11,8 @@ jobs:
strategy: strategy:
matrix: matrix:
java-version: [ 17, 21, 22 ] java-version: [ 17, 21, 23 ]
kotlin-version: [ 1.19.24, 2.0.20 ] kotlin-version: [ 1.19.24, 2.0.21 ]
steps: steps:
- name: Checkout source repository - 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="detektBaseline" />
<pattern value="com.example.ExampleBuild" method="detektMain" /> <pattern value="com.example.ExampleBuild" method="detektMain" />
<pattern value="com.example.ExampleBuild" method="detektTest" /> <pattern value="com.example.ExampleBuild" method="detektTest" />
<pattern value="com.example.ExampleBuild" method="docs" />
</component> </component>
<component name="PDMPlugin"> <component name="PDMPlugin">
<option name="customRuleSets"> <option name="customRuleSets">

View file

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