-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Move BuildParams class to 'minimumRuntime' source set #49890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move BuildParams class to 'minimumRuntime' source set #49890
Conversation
…tibility with build-tools for builds using a Java 8 runtime. Closes elastic#49766 Signed-off-by: Mark Vieira <[email protected]>
Pinging @elastic/es-core-infra (:Core/Infra/Build) |
FYI, this is being done in |
@elasticmachine run elasticsearch-ci/1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -155,6 +154,7 @@ public void reset() { | |||
.filter(f -> Modifier.isStatic(f.getModifiers())) | |||
.forEach(f -> { | |||
try { | |||
f.setAccessible(true); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you please add a comment explaining why this is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added a comment to explain the need for this.
Signed-off-by: Mark Vieira <[email protected]>
Move BuildParams class to 'minimumRuntime' source set to retain compatibility with build-tools for builds using a Java 8 runtime. Closes elastic#49766
This commit moves BuildParams and dependent classes to the 'minimumRuntime' source set in order to maintain backwards compatibility with build-tools for builds using a Java 8 runtime.
Closes #49766