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/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
java-version: [22]
java-version: [21]

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
# languages: ${{ matrix.language }}
# queries: security-and-quality
#
# - name: Set up JDK 22
# - name: Set up JDK 21
# uses: actions/setup-java@v4
# with:
# java-version: 22
# java-version: 21
# distribution: 'temurin'
#
# - name: Cache Gradle packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up JDK 22
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 22
java-version: 21
distribution: 'temurin'

- name: Cache Gradle packages
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/static-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up JDK 22
- name: Set up JDK 21
uses: actions/setup-java@v4
with:
java-version: 22
java-version: 21
distribution: 'temurin'

- name: Cache Gradle packages
Expand Down
6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ group = "com.claymccoy"
version = "1.0-SNAPSHOT"

java {
sourceCompatibility = JavaVersion.VERSION_22
targetCompatibility = JavaVersion.VERSION_22
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}

kotlin {
jvmToolchain(22)
jvmToolchain(21)
}

repositories {
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ org.gradle.caching=true
# Kotlin compiler optimizations
kotlin.code.style=official
kotlin.incremental=true

# Enable toolchain download
org.gradle.java.installations.auto-download=true
Loading