[LL] Add LL API module for JDK 11 tests to support Lincheck tests

- Lincheck is compiled with JDK 11 and the `low-level-api-fir` module is
  based on the JDK 8 toolchain, so we need to add a new module with a
  JDK 11 toolchain to support Lincheck tests. We cannot bump
  `low-level-api-fir` to JDK 11 because `low-level-api-fir-for-ide`
  requires it to be based on a JDK 8 toolchain.
- Using a Gradle test suite is unfortunately not an option, because
  `low-level-api-fir-for-ide` will think that the whole
  `low-level-api-fir` module is compiled with JDK 11 if just a single
  test suite has this toolchain.

^KT-62136
This commit is contained in:
Marco Pennekamp
2023-11-21 18:35:54 +01:00
committed by Space Team
parent c0c6667876
commit ee7c67ba11
6 changed files with 132 additions and 0 deletions
@@ -5,6 +5,7 @@ plugins {
val testModules = listOf(
":analysis:analysis-api-fir",
":analysis:low-level-api-fir",
":analysis:low-level-api-fir:tests-jdk11",
":analysis:analysis-test-framework",
":analysis:analysis-api-impl-barebone",
":analysis:analysis-api-impl-base",