Skip to content

Commit

Permalink
Bumped Kotlin to version 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Nov 28, 2024
1 parent 35f7f73 commit 22db48d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/bld.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: bld-ci

on: [ push, pull_request, workflow_dispatch ]
on: [push, pull_request, workflow_dispatch]

env:
KOTLIN_HOME: /usr/share/kotlinc
Expand All @@ -11,8 +11,8 @@ jobs:

strategy:
matrix:
java-version: [ 17, 21, 23 ]
kotlin-version: [ 1.19.24, 2.0.21 ]
java-version: [17, 21, 23]
kotlin-version: [1.9.24, 2.1.0]

steps:
- name: Checkout source repository
Expand Down
2 changes: 1 addition & 1 deletion lib/bld/bld-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ bld.javaOptions=
bld.javacOptions=
bld.extension-detekt=com.uwyn.rife2:bld-detekt:0.9.7
bld.extension-dokka=com.uwyn.rife2:bld-dokka:1.0.1
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.0.2
bld.extension-kotlin=com.uwyn.rife2:bld-kotlin:1.0.3
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_RELEASES,RIFE2_SNAPSHOTS
bld.sourceDirectories=
bld.version=2.1.0
6 changes: 3 additions & 3 deletions src/bld/java/com/example/ExampleBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ public ExampleBuild() {
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"));
Expand Down

0 comments on commit 22db48d

Please sign in to comment.