Upgrade to Gradle 6.7 and use toolchains for per-JDK builds

Description

The idea is to use:

  • One JDK to run Gradle: whatever it needs, let's say JDK8.

  • One JDK to build the "main", published code: JDK8.

  • One JDK to build and run the tests: JDK 8 / 11 / 15 / 16, in different Jenkins jobs.

That can be done in Gradle 6.7 with the help of toolchains. We've already done it in Hibernate Reactive: https://github.com/hibernate/hibernate-reactive/pull/430

Environment

None

Activity

Show:
Steve Ebersole
November 11, 2020, 5:04 PM

Wow, very nice!

Andrei Ivanov
January 11, 2021, 2:25 PM

btw, Gradle 6.8 was just released

Fixed

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

backportDecision

None

Components

Priority

Major