Drop support for Java 8 and 11 from github workflows
diff --git a/.github/workflows/pull-request-without-code.yml b/.github/workflows/pull-request-without-code.yml index 233f06a..da69d49 100644 --- a/.github/workflows/pull-request-without-code.yml +++ b/.github/workflows/pull-request-without-code.yml
@@ -45,7 +45,7 @@ strategy: matrix: os: [ubuntu-latest, windows-latest] - jdk: [ 17, 21 ] # list of Java versions (usually only LTS versions) to run tests against (excluding `java-compilation` version for which tests already have run during `build` job) + jdk: [17, 21] # list of Java versions (usually only LTS versions) to run tests against (excluding `java-compilation` version for which tests already have run during `build` job) runs-on: ${{ matrix.os }} name: "[tests] OS=${{ matrix.os }}, Java=${{ matrix.jdk }}" steps:
diff --git a/build-logic/src/main/kotlin/KotlinCommonPlugin.kt b/build-logic/src/main/kotlin/KotlinCommonPlugin.kt index 70fd9dc..fd4f9c9 100644 --- a/build-logic/src/main/kotlin/KotlinCommonPlugin.kt +++ b/build-logic/src/main/kotlin/KotlinCommonPlugin.kt
@@ -50,7 +50,7 @@ val requestedJdkVersion = project.findProperty("testJdkVersion")?.toString()?.toInt() // list of Java versions (usually only LTS versions) the developers may want to run via IDE click. - setOfNotNull(8, 11, 17, 21, requestedJdkVersion).forEach { version -> + setOfNotNull(17, 21, requestedJdkVersion).forEach { version -> tasks.register<Test>("testOnJdk$version") { javaLauncher.set( target