Upgrade to Java 21

This commit is contained in:
NovaFox161
2025-07-02 19:59:46 -05:00
parent 9929344efc
commit 102c6913ba
3 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ jobs:
if: ${{ github.event_name == 'push' || github.event.pull_request.head.repo.full_name != 'DreamExposure/DisCal-Discord-Bot' }}
strategy:
matrix:
java: [ 17 ]
java: [ 21 ]
steps:
- uses: actions/checkout@v4
@@ -70,7 +70,7 @@ jobs:
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: 17
java-version: 21
distribution: 'adopt'
- name: Change wrapper permissions

View File

@@ -119,8 +119,8 @@ allprojects {
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
}
kotlin {

View File

@@ -35,4 +35,4 @@ copyDownVersion=1.1
jsoupVersion=1.20.1
# Jib properties
baseImage=eclipse-temurin:17-jdk-alpine@sha256:0e6e494ac4da6509a038b7689250bc7ea68beaf8a5efbca5ed7c8692457b283c
baseImage=eclipse-temurin:21-jdk-alpine@sha256:2f2f553ce09d25e2d2f0f521ab94cd73f70c9b21327a29149c23a2b63b8e29a0