Skip to content

Commit

Permalink
Bump to Java 11 (#177)
Browse files Browse the repository at this point in the history
* Bump to JVM 11

* Fix 1_11 -> 11
  • Loading branch information
szabado-faire authored Apr 2, 2024
1 parent 95a97b2 commit 4170185
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ subprojects {
plugins.withType<KotlinPluginWrapper> {
tasks.withType<KotlinCompile> {
kotlinOptions {
jvmTarget = JavaVersion.VERSION_1_8.toString()
jvmTarget = JavaVersion.VERSION_11.toString()
}
// dependsOn("spotlessKotlinApply")
}

tasks.withType<JavaCompile> {
sourceCompatibility = JavaVersion.VERSION_1_8.toString()
targetCompatibility = JavaVersion.VERSION_1_8.toString()
sourceCompatibility = JavaVersion.VERSION_11.toString()
targetCompatibility = JavaVersion.VERSION_11.toString()
}

dependencies {
Expand Down Expand Up @@ -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/"))
Expand Down

0 comments on commit 4170185

Please sign in to comment.