From 515c6ecb347903909883239ed98fa87b545ee1b9 Mon Sep 17 00:00:00 2001 From: BenG49 <64862590+BenG49@users.noreply.github.com> Date: Mon, 8 Jan 2024 22:46:49 -0500 Subject: [PATCH] Update to Java 17 (#83) --- .classpath | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/build_release.yml | 2 +- .travis.yml | 2 +- build.gradle | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.classpath b/.classpath index 225833aa..a4ef70c4 100644 --- a/.classpath +++ b/.classpath @@ -6,7 +6,7 @@ - + diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a31e9047..845e938b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ name: Build on: [push, fork, pull_request] env: - JAVA_VERSION: 1.11 + JAVA_VERSION: 1.17 GRADLE_VERSION: 8.4 jobs: diff --git a/.github/workflows/build_release.yml b/.github/workflows/build_release.yml index 714c60f3..f71e3bea 100644 --- a/.github/workflows/build_release.yml +++ b/.github/workflows/build_release.yml @@ -10,7 +10,7 @@ permissions: id-token: write env: - JAVA_VERSION: 1.11 + JAVA_VERSION: 1.17 GRADLE_VERSION: 8.4 jobs: diff --git a/.travis.yml b/.travis.yml index f84b2dbc..f4301161 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,3 @@ language: java jdk: -- openjdk11 +- openjdk17 diff --git a/build.gradle b/build.gradle index c4d5a77f..65ab133b 100644 --- a/build.gradle +++ b/build.gradle @@ -15,8 +15,8 @@ plugins { group = 'com.stuypulse' java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 } sourceSets {