Skip to content
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

Modernize build #22

Merged
merged 6 commits into from
Oct 18, 2024
Merged

Modernize build #22

merged 6 commits into from
Oct 18, 2024

Conversation

martinbonnin
Copy link
Member

See #21

@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip

Choose a reason for hiding this comment

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

That's a bit nasty to hide that in here 😉

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure what you mean? Is that a big change?

Choose a reason for hiding this comment

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

No, but it's totally unrelated to the commit title of "Remove DefaultSelfResolvingDependency", isn't it?

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh yea 100% sorry about that, that repo usually doesn't get much review, I'll make sure to make cleaner commits moving on!

* We need Java <= 17 until we update the embedded gr8
* See https://issuetracker.google.com/u/2/issues/365578411
*/
check(JavaVersion.current() <= JavaVersion.VERSION_17) {

Choose a reason for hiding this comment

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

Should this use the Gradle toolchain mechanism instead?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not the biggest toolchain fan. What I really want is to use Java 23 but this requires https://issuetracker.google.com/u/2/issues/365578411

Choose a reason for hiding this comment

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

this requires https://issuetracker.google.com/u/2/issues/365578411

That's marked as fixed. But I guess there's no release with it yet?

Copy link
Member Author

Choose a reason for hiding this comment

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

It should be released by now. What we need to do to update R8 in here and then make a new release of Gr8 and then use that new Gr8 release in main and then we can remove the limitation. Bootstrap all the way down 😅

Note that in this specific case, toolchains wouldn't help anyways because R8 takes the runtime libs from the current JRE (unless we used a separate JavaExec task to run R8 itself but there are so many hours in a day sadly).

Choose a reason for hiding this comment

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

I've created #23 to track this.

@martinbonnin martinbonnin merged commit 6d9c5ea into main Oct 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants