Skip to content

Use Gradle Toolchains for JVM projects to test on unsupported JDK versions #25787

Closed
@sbrannen

Description

@sbrannen

Gradle 6.7 will introduce built-in support for Toolchains for JVM projects.

Once we upgrade to Gradle 6.7, we will should hopefully be able to replace the functionality in custom-java-home.gradle with the new built-in support.

Note from the Gradle team:

Toolchains and *Compatibility: the moment you use toolchain at the project level, sourceCompatibility and targetCompatibility from the project have a value derived from the toolchain. What you cannot do is overwrite that value. You can still overwrite it at the task level though.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions