From dec73fb9641fc7ea157250eb97d305d6e04fa79f Mon Sep 17 00:00:00 2001 From: Tobias Grothe Date: Tue, 29 Sep 2026 21:09:59 +0200 Subject: [PATCH] Update: build.gradle versions, gradle wrapper, and github ci workflows --- .github/workflows/autoassign.yml | 2 +- .github/workflows/gradle.yml | 10 +++++----- .github/workflows/jars.yml | 8 ++++---- build.gradle | 15 +++++++++------ gradle/wrapper/gradle-wrapper.properties | 2 +- 5 files changed, 20 insertions(+), 17 deletions(-) diff --git a/.github/workflows/autoassign.yml b/.github/workflows/autoassign.yml index dfa0329..94542b1 100644 --- a/.github/workflows/autoassign.yml +++ b/.github/workflows/autoassign.yml @@ -11,4 +11,4 @@ jobs: contents: read pull-requests: write steps: - - uses: kentaro-m/auto-assign-action@v2.0.0 + - uses: kentaro-m/auto-assign-action@v2.0.2 diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 27c98de..6c48da8 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -13,14 +13,14 @@ jobs: contents: read steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 + - name: Set up JDK + uses: actions/setup-java@v6 with: - java-version: '17' + java-version: '25' distribution: 'temurin' - name: Setup Gradle - uses: gradle/actions/setup-gradle@v4 + uses: gradle/actions/setup-gradle@v6 - name: Build with Gradle Wrapper run: | chmod +x ./gradlew - ./gradlew clean build + ./gradlew clean build -x shadowJar diff --git a/.github/workflows/jars.yml b/.github/workflows/jars.yml index 7b8e47c..990938c 100644 --- a/.github/workflows/jars.yml +++ b/.github/workflows/jars.yml @@ -13,13 +13,13 @@ jobs: contents: write steps: - uses: actions/checkout@v4 - - name: Set up JDK 17 - uses: actions/setup-java@v4 + - name: Set up JDK + uses: actions/setup-java@v6 with: - java-version: '17' + java-version: '25' distribution: 'temurin' - name: Setup Gradle - uses: gradle/actions/setup-gradle@v4 + uses: gradle/actions/setup-gradle@v6 - name: Build with Gradle Wrapper run: | chmod +x ./gradlew diff --git a/build.gradle b/build.gradle index de9d6c2..4376226 100644 --- a/build.gradle +++ b/build.gradle @@ -3,9 +3,9 @@ buildscript { plugins { id 'application' - id 'com.diffplug.spotless' version '8.10.1' - id 'com.github.ben-manes.versions' version '0.61.0' - id 'com.github.spotbugs' version '6.5.11' + id 'com.diffplug.spotless' version '8.10.3' + id 'io.github.ben-manes.versions' version '0.64.0' + id 'com.github.spotbugs' version '6.5.12' id 'com.gradleup.shadow' version '9.6.1' } @@ -22,16 +22,19 @@ ext { } dependencies { +// Tests (outdated) // testImplementation(platform('org.junit:junit-bom:6.1.0-M1')) // testImplementation('org.junit.jupiter:junit-jupiter') // testRuntimeOnly('org.junit.platform:junit-platform-launcher') + // Logger implementation "org.apache.logging.log4j:log4j-core:$log4jVers" implementation "org.apache.logging.log4j:log4j-plugins:$log4jVers" implementation "org.apache.logging.log4j:log4j-config-properties:$log4jVers" implementation "org.apache.logging.log4j:log4j-slf4j2-impl:$log4jVers" - implementation 'org.apache.commons:commons-lang3:3.20.0' + // Other + implementation 'org.apache.commons:commons-lang3:3.21.0' implementation 'org.json:json:20260814' } @@ -40,8 +43,8 @@ dependencies { //} java { - sourceCompatibility = JavaVersion.VERSION_17 - targetCompatibility = JavaVersion.VERSION_17 + sourceCompatibility = JavaVersion.VERSION_25 + targetCompatibility = JavaVersion.VERSION_25 } spotless { diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ad7845b..9b7cb4a 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.8.0-bin.zip networkTimeout=10000 retries=0 retryBackOffMs=500