Zum Hauptinhalt gehen

Ensuring Java 21 Readiness with FirstSpirit Compatibility Plans

Kommentare

1 Kommentar

  • Sebastian Müller

    Hi,

    i would have two things to add as I just went through the process of adapting the configuration of a couple of modules to get them to work with the Compatibility Plans.

    The modules I used so far had a toolchain set which has to be removed from the "build.gradle" file:

    java {
        toolchain {
            languageVersion = JavaLanguageVersion.of(17)
        }
    }

    The second problem:
    I updated the modules using gradle 9.1.0 (latest version at the time of writing this comment -> 2025/09/22).

    But in order for the "Compliance stage" to work correctly I had to update the plugin to version 7.0.0:

    plugins {
        id 'java-library'
        id 'maven-publish'
      id 'de.espirit.firstspirit-module' version '7.0.0'
        id 'net.researchgate.release' version '3.1.0'
    }

    Greetings,
    Sebastian

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.