Enable testing against multiple Java versions

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Unknown
    • None
    • None
    • None
    • None
    • None
    • None

      Implement a build configuration that allows testing the project against specific Java versions. This will enable us to verify compatibility across multiple JDK versions.

      The workflow is:

      1) Compile with Java 17 (always) ./gradlew build. Test with Java 17 (default)  ./gradlew test

      2) Test with Java 21 (using the SAME Java 17 compiled bytecode) . /gradlew test -PjavaVersion=21

      3) Test with Java 23 (using the SAME Java 17 compiled bytecode) ./gradlew test -PjavaVersion=23

      Out of Scope

        - Running actual test suites on Java 21/23 (follow-up ticket)

            Assignee:
            Slav Babanin
            Reporter:
            Slav Babanin
            Valentin Kavalenka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: