Skip to content

Commit

Permalink
Updated dependencies
Browse files Browse the repository at this point in the history
Bumped Kotlin to version 2.0.20
Bumped Junit to verson 5.11.0
  • Loading branch information
ethauvin committed Sep 11, 2024
1 parent 08780a5 commit 6bd1aed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 3 additions & 4 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:
COVERAGE_JDK: "21"
Expand All @@ -13,8 +13,8 @@ jobs:

strategy:
matrix:
java-version: [ 17, 21, 22 ]
kotlin-version: [ 1.9.24, 2.0.0 ]
java-version: [17, 21, 22]
kotlin-version: [1.9.24, 2.0.20]

steps:
- name: Checkout source repository
Expand All @@ -34,7 +34,6 @@ jobs:
- name: Compile source
run: ./bld compile


- name: Run tests
run: ./bld jacoco

Expand Down
7 changes: 4 additions & 3 deletions src/bld/java/net/thauvin/erik/JokeApiBuild.java
Original file line number Diff line number Diff line change
Expand Up @@ -67,22 +67,23 @@ public JokeApiBuild() {
autoDownloadPurge = true;
repositories = List.of(MAVEN_LOCAL, MAVEN_CENTRAL);

final var kotlin = version(2, 0, 0);
final var kotlin = version(2, 0, 20);
scope(compile)
.include(dependency("org.jetbrains.kotlin", "kotlin-stdlib", kotlin))
.include(dependency("org.json", "json", "20240303"))
.include(dependency("net.thauvin.erik.urlencoder", "urlencoder-lib-jvm", version(1, 5, 0)));
scope(test)
.include(dependency("org.jetbrains.kotlin", "kotlin-test-junit5", kotlin))
.include(dependency("org.junit.jupiter", "junit-jupiter", version(5, 10, 3)))
.include(dependency("org.junit.platform", "junit-platform-console-standalone", version(1, 10, 3)))
.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("com.willowtreeapps.assertk", "assertk-jvm", version(0, 28, 1)));

publishOperation()
.repository(version.isSnapshot() ? repository(SONATYPE_SNAPSHOTS_LEGACY.location())
.withCredentials(property("sonatype.user"), property("sonatype.password"))
: repository(SONATYPE_RELEASES_LEGACY.location())
.withCredentials(property("sonatype.user"), property("sonatype.password")))
.repository(repository("github"))
.info()
.groupId(pkg)
.artifactId(name)
Expand Down

0 comments on commit 6bd1aed

Please sign in to comment.