Skip to content

Upgrade to Gradle 4.8 and enable JDK 11 in CI #31230

Closed
@jasontedor

Description

@jasontedor

With rampdown phase one of JDK 11 approaching, we want to enable JDK 11 in CI. However, Gradle 4.7 is not compatible with JDK 11 (gradle/gradle#4860). The upgrade to Gradle 4.8 is non-trivial due to Gradle reporting dependency conflicts.

Since the non-trivial nature keeps escalating feature/31230_gradle48_jdk11 will track this work.
CI for the branch is at (elastic/infra#5603, elastic/infra#5601): https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+31230_gradle48_jdk11+matrix-java-feature-branch/

TODO:

These changes should be done for 6.x and master.
Note: Gradle doesn't fully support JDK 11 as of 4.8 and full support is planned for 4.9 gradle/gradle#5120 .

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions