Skip to content

Commit

Permalink
Bump minimum Java version to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim203 committed Feb 11, 2024
1 parent ee97ab1 commit c5ad99a
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,10 @@ tasks.jar {

// Configure target versions
indra {
javaVersions().testWith(11, 17)
javaVersions {
target(9)
testWith(11, 17)
}
}

// Don't compile AP-generated sources from within IDE
Expand Down
2 changes: 1 addition & 1 deletion extra/kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ kotlin {
target {
compilations.configureEach {
kotlinOptions {
jvmTarget = "1.8"
jvmTarget = "9"
languageVersion = "1.4"
freeCompilerArgs += [
"-opt-in=kotlin.RequiresOptIn",
Expand Down
2 changes: 1 addition & 1 deletion tool/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
}

tasks.withType(KotlinCompile).configureEach {
kotlinOptions.jvmTarget = "1.8"
kotlinOptions.jvmTarget = "9"
kotlinOptions.freeCompilerArgs = ["-Xnew-inference"]
}

Expand Down
2 changes: 1 addition & 1 deletion vendor/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ project(":typesafe-config") {
}
options.encoding = "UTF-8"
scalaCompileOptions.additionalParameters.add(
"-target:jvm-1.8"
"-target:jvm-9"
)
}

Expand Down

0 comments on commit c5ad99a

Please sign in to comment.