Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/daily-standings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 3
strategy:
matrix:
java-version: [ 25 ]
java-version: [ 26 ]
os: [ ubuntu-latest ]

steps:
Expand Down
18 changes: 16 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
java-version: [ 25 ]
java-version: [ 25, 26 ]
os: [ ubuntu-latest, macos-latest, windows-latest ]

steps:
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Run Gradle build
env:
SPRING_PROFILES_ACTIVE: test
run: ./gradlew build --parallel --configuration-cache
run: ./gradlew build --parallel --configuration-cache -PjavaVersion=${{ matrix.java-version }}

- name: Generate file
run: |
Expand Down Expand Up @@ -58,3 +58,17 @@ jobs:
echo "file 1 is smaller"
exit 1
fi

all-checks-passed:
runs-on: ubuntu-latest
needs: [ build ]
if: always()
steps:
- name: Check status of all required jobs
run: |
if [[ "${{ contains(needs.*.result, 'failure') ||
contains(needs.*.result, 'cancelled') }}" == "true" ]]; then
echo "One or more dynamic checks failed."
exit 1
fi
echo "All checks passed!"
6 changes: 5 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,13 @@ plugins {
group = "com.trap-scoring"
version = "10.0.0"

val targetJavaVersion = providers.gradleProperty("javaVersion")
.orElse(libs.versions.java)
.map { it.toInt() }

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(libs.versions.java.get().toInt()))
languageVersion.set(targetJavaVersion.map { JavaLanguageVersion.of(it) })
}
}

Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[versions]
java = "25"
java = "26"
springBoot = "4.1.0-RC1"
poi = "5.5.1"
opencsv = "5.12.0"
Expand Down