Skip to content

[Feature] Support JDK toolchains plugin in spotless maven plugin #1857

@HuangFru

Description

@HuangFru

Spotless can not sense the toolchains plugin in Maven.

I have different Java versions in my project and use Spotless to be the checkstyle plugin. Also, I use the JDK toolchains maven plugin to help me pick different JDK env in different modules. But when I built the whole project, Spotless can not sense the toolchains, so it used the wrong JDK to apply Spotless(different modules have different Google Java formats to support different JDK).

I'm willing to submit a PR, but I wonder if the communications can merge it into older versions such as 2.30.0 or a branch that supports JAVA 8(cause I have Java 8 env).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions