diff --git a/build.gradle.kts b/build.gradle.kts index 060b6d2..6c02287 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,7 +15,7 @@ repositories { dependencies { // This dependency is used by the application. - implementation("com.google.guava:guava:32.1.1-jre") + implementation("com.google.guava:guava:33.0.0-jre") // Game Libraries implementation(files("libs/discord-rpc.jar", "libs/GJAPI.jar")) } @@ -31,7 +31,7 @@ sourceSets { // Apply a specific Java toolchain to ease working on different environments. java { toolchain { - languageVersion.set(JavaLanguageVersion.of(8)) + languageVersion.set(JavaLanguageVersion.of(21)) } - targetCompatibility = JavaVersion.VERSION_1_8 + targetCompatibility = JavaVersion.VERSION_21 } diff --git a/settings.gradle.kts b/settings.gradle.kts index d57a85a..0531745 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -8,7 +8,7 @@ plugins { // Apply the foojay-resolver plugin to allow automatic download of JDKs - id("org.gradle.toolchains.foojay-resolver-convention") version "0.4.0" + id("org.gradle.toolchains.foojay-resolver-convention") version "0.7.0" } rootProject.name = "TheTraveler"