Skip to content

Conversation

@breskeby
Copy link
Contributor

@breskeby breskeby commented Mar 5, 2025

No description provided.

@breskeby breskeby requested a review from a team as a code owner March 5, 2025 08:23
@breskeby breskeby added >non-issue :Delivery/Build Build or test infrastructure Team:Delivery Meta label for Delivery team auto-backport Automatically create backport pull requests when merged v8.18.1 v8.19.0 v9.0.1 v9.1.0 v8.16.6 v8.17.4 labels Mar 5, 2025
@breskeby breskeby self-assigned this Mar 5, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-delivery (Team:Delivery)

@breskeby breskeby requested a review from mark-vieira March 5, 2025 09:12
)
]
toolchainPlatforms.set(myPlatforms)
languageVersion = JavaLanguageVersion.of(21)
Copy link
Contributor Author

@breskeby breskeby Mar 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jozala brought up that those archived oracle jdks are not openjdk anymore and we might hit a license issue here. I wonder if we are okay here or if we should maybe use a different openjdk vendor. @mark-vieira do you have thoughts on this?. IMO since this is build vm only. the safest way might be using adoptium

Copy link
Contributor

@mark-vieira mark-vieira Mar 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I forget the exact license terms. We aren't "redistributing" so we're probably ok, but I guess it would be considered "commercial use". If there are any concerns I agree that just using Adoptium would be easiest. We're not picky here, since this is only used by build-time toolchains.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets go with the Adoptium jvm then for the gradle jvm

@@ -0,0 +1,8 @@
#This file is generated by updateDaemonJvm
Copy link
Contributor

@mark-vieira mark-vieira Mar 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see. It doesn't actually do dynamic resolution. This is still way better than the status quo though of people running into random issues when using new JDKs. And this rarely will need to be updated.

@breskeby breskeby force-pushed the autoprovision-gradle-daemon branch from 40063da to 64b64b0 Compare March 10, 2025 19:34
@breskeby breskeby requested a review from mark-vieira March 17, 2025 14:11
@breskeby breskeby merged commit 12c2dd5 into elastic:main Mar 18, 2025
17 checks passed
breskeby added a commit to breskeby/elasticsearch that referenced this pull request Mar 18, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
breskeby added a commit to breskeby/elasticsearch that referenced this pull request Mar 18, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
breskeby added a commit to breskeby/elasticsearch that referenced this pull request Mar 18, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
breskeby added a commit to breskeby/elasticsearch that referenced this pull request Mar 18, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
breskeby added a commit to breskeby/elasticsearch that referenced this pull request Mar 18, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.18
8.x
9.0
8.16
8.17

elasticsearchmachine pushed a commit that referenced this pull request Mar 18, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
elasticsearchmachine pushed a commit that referenced this pull request Mar 18, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
elasticsearchmachine pushed a commit that referenced this pull request Mar 19, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
elasticsearchmachine pushed a commit that referenced this pull request Mar 19, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
elasticsearchmachine pushed a commit that referenced this pull request Mar 21, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
smalyshev pushed a commit to smalyshev/elasticsearch that referenced this pull request Mar 21, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
omricohenn pushed a commit to omricohenn/elasticsearch that referenced this pull request Mar 28, 2025
With Gradle 8.13 we can now auto provision the jdk used by the gradle daemon. Our configuration relies on jdk21.
With this autoprovisioning enabled each gradle build will use adoptium jdk 21 for gradle jvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-backport Automatically create backport pull requests when merged :Delivery/Build Build or test infrastructure >non-issue Team:Delivery Meta label for Delivery team v8.16.6 v8.17.4 v8.18.1 v8.19.0 v9.0.1 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants