Skip to content

Commit f749193

Browse files
committed
build: upgrade Gradle to 9.6.1 and update dependencies
1 parent 75b21a5 commit f749193

6 files changed

Lines changed: 92 additions & 79 deletions

File tree

.github/workflows/build.yml

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
# https://github.com/marketplace/actions/checkout
10-
- name: CHECKOUT REPOSITORY
11-
uses: actions/checkout@v2
12-
# https://github.com/marketplace/actions/setup-java-jdk
13-
- name: SETUP JAVA JDK
14-
uses: actions/setup-java@v2.3.1
10+
- name: Checkout repository...
11+
uses: actions/checkout@v7
12+
13+
# https://github.com/marketplace/actions/setup-java-jdk
14+
- name: Setup Java...
15+
uses: actions/setup-java@v6
1516
with:
16-
java-version: 11
17-
distribution: 'zulu'
18-
# https://github.com/marketplace/actions/gradle-build-action
19-
- name: BUILD
20-
uses: gradle/gradle-build-action@v2.4.2
21-
with:
22-
arguments: build
17+
java-version: '21'
18+
distribution: 'temurin'
19+
20+
# https://github.com/marketplace/actions/build-with-gradle
21+
- name: Setup Gradle...
22+
uses: gradle/actions/setup-gradle@v6
23+
24+
- name: Run build...
25+
run: ./gradlew build

build.gradle.kts

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
1-
val kotlinVersion = "2.1.21"
1+
val kotlinVersion = "2.4.0"
22

33
plugins {
44
idea
5-
kotlin("jvm") version "2.1.21"
5+
kotlin("jvm") version "2.4.0"
66
id("com.adarshr.test-logger") version "4.0.0"
7-
id("com.vanniktech.maven.publish") version "0.33.0"
7+
id("com.vanniktech.maven.publish") version "0.34.0"
88
}
99

1010
group = "net.igsoft"
11-
version = "0.6.0"
11+
version = "0.6.1"
1212

1313
repositories {
1414
mavenCentral()
1515
}
1616

1717
kotlin {
18-
jvmToolchain(17)
18+
jvmToolchain(21)
1919
}
2020

2121
testlogger {
@@ -61,18 +61,17 @@ dependencies {
6161
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlinVersion")
6262
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
6363

64-
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2")
64+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.11.0")
6565

66-
implementation("org.apache.commons:commons-lang3:3.17.0")
67-
implementation("com.google.code.gson:gson:2.13.1")
66+
implementation("org.apache.commons:commons-lang3:3.20.0")
67+
implementation("com.google.code.gson:gson:2.14.0")
6868

69-
val junitVersion = "6.0.0-M1"
69+
val junitVersion = "6.1.0"
7070
testImplementation("org.junit.platform:junit-platform-suite-engine:$junitVersion")
7171
testImplementation("org.junit.platform:junit-platform-suite-api:$junitVersion")
72-
testImplementation("org.junit.platform:junit-platform-suite-commons:$junitVersion")
7372
testImplementation("org.junit.jupiter:junit-jupiter-engine:$junitVersion")
7473
testImplementation("org.junit.jupiter:junit-jupiter-params:$junitVersion")
7574

7675
testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.28.1")
77-
testImplementation("io.mockk:mockk:1.14.4")
76+
testImplementation("io.mockk:mockk:1.14.11")
7877
}

gradle/wrapper/gradle-wrapper.jar

-12 KB
Binary file not shown.
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-9.6.1-bin.zip
4+
networkTimeout=10000
5+
retries=0
6+
retryBackOffMs=500
7+
validateDistributionUrl=true
48
zipStoreBase=GRADLE_USER_HOME
59
zipStorePath=wrapper/dists

gradlew

Lines changed: 34 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 28 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)