Skip to content

[7.x] Wrap VersionPropertiesLoader in a BuildService to decouple build logic projects#78842

Merged
breskeby merged 1 commit intoelastic:7.xfrom
breskeby:decouple-build-tools-configuration-7.x
Oct 11, 2021
Merged

[7.x] Wrap VersionPropertiesLoader in a BuildService to decouple build logic projects#78842
breskeby merged 1 commit intoelastic:7.xfrom
breskeby:decouple-build-tools-configuration-7.x

Conversation

@breskeby
Copy link
Copy Markdown
Contributor

@breskeby breskeby commented Oct 7, 2021

Backporting #78704 to 7.x

…c projects (elastic#78704)

By using a BuildService we can decouple the configuration of projects but keep making
expensive operations (e.g. parsing properties file or reading minimumJavaCompiler from file) only once
per build.

This bring us closer to decouple projects and get ultimatively configuration cache compliant. In
general we will bring in more BuildServices for the main build to follow along that Pattern and
ultimatevely remove usages of allprojects and subprojects in our build.
@breskeby breskeby self-assigned this Oct 7, 2021
@elasticmachine elasticmachine added the Team:Delivery Meta label for Delivery team label Oct 7, 2021
@breskeby breskeby merged commit 09dc4a4 into elastic:7.x Oct 11, 2021
@breskeby breskeby deleted the decouple-build-tools-configuration-7.x branch October 11, 2021 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Delivery/Build Build or test infrastructure >enhancement Team:Delivery Meta label for Delivery team v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants