From 4170185efe1c482021d70058db6ce30cf1408c9a Mon Sep 17 00:00:00 2001 From: Felix <110842208+szabado-faire@users.noreply.github.com> Date: Tue, 2 Apr 2024 17:34:03 -0400 Subject: [PATCH] Bump to Java 11 (#177) * Bump to JVM 11 * Fix 1_11 -> 11 --- build.gradle.kts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index 989f8bb5..138c3a0d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -72,14 +72,14 @@ subprojects { plugins.withType { tasks.withType { kotlinOptions { - jvmTarget = JavaVersion.VERSION_1_8.toString() + jvmTarget = JavaVersion.VERSION_11.toString() } // dependsOn("spotlessKotlinApply") } tasks.withType { - sourceCompatibility = JavaVersion.VERSION_1_8.toString() - targetCompatibility = JavaVersion.VERSION_1_8.toString() + sourceCompatibility = JavaVersion.VERSION_11.toString() + targetCompatibility = JavaVersion.VERSION_11.toString() } dependencies { @@ -107,7 +107,7 @@ subprojects { dokkaSourceSets.configureEach { reportUndocumented.set(false) skipDeprecated.set(true) - jdkVersion.set(8) + jdkVersion.set(11) externalDocumentationLink { url.set(URL("https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/"))