Skip to content

Update to gradle 9.3.1 and update plugins#13

Open
wmdietl wants to merge 22 commits intomain-eisopfrom
gradle-9.0.0
Open

Update to gradle 9.3.1 and update plugins#13
wmdietl wants to merge 22 commits intomain-eisopfrom
gradle-9.0.0

Conversation

@wmdietl
Copy link
Member

@wmdietl wmdietl commented Aug 4, 2025

No description provided.

with:
repository: jspecify/jspecify
path: jspecify
ref: gradle-9.0.0
Copy link
Member Author

Choose a reason for hiding this comment

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

Without this, CI is failing with

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':jspecify'.
> Failed to notify project evaluation listener.
   > org.gradle.api.plugins.internal.DefaultDecoratedConvention

It seems rather odd that gradle doesn't play well together with an not much older version of gradle used in that other project.

Copy link
Member Author

Choose a reason for hiding this comment

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

No, still fails. Can't reproduce locally 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.

I looked at the wrong branch. The issue was that the samples-google-prototype-eisop further down was using Gradle 8.9. jspecify/jspecify#768 fixed this and now this PR works.

I think it works even without #16 because the gradle-9.0.0 branch was made before the recent changes in jspecify/jspecify.

@wmdietl
Copy link
Member Author

wmdietl commented Sep 20, 2025

Copying comments from .github/workflows/build.yml, b/c the change on that line will need to be undone. The change was to use branch gradle-9.0.0 of jspecify/jspecify.

Without this, CI is failing with

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':jspecify'.
> Failed to notify project evaluation listener.
   > org.gradle.api.plugins.internal.DefaultDecoratedConvention

It seems rather odd that gradle doesn't play well together with an not much older version of gradle used in that other project.


No, still fails. Can't reproduce locally yet.


I looked at the wrong branch. The issue was that the samples-google-prototype-eisop further down was using Gradle 8.9. jspecify/jspecify#768 fixed this and now this PR works.

I think it works even without #16 because the gradle-9.0.0 branch was made before the recent changes in jspecify/jspecify.

Likely conformance tests will fail, which #16 will fix.
@wmdietl
Copy link
Member Author

wmdietl commented Sep 20, 2025

When using jspecify/jspecify main, which doesn't use Gradle 9.0.0 yet, I again get this error:

* What went wrong:
A problem occurred configuring project ':jspecify'.
> Failed to notify project evaluation listener.
   > org.gradle.api.plugins.internal.DefaultDecoratedConvention

So I'll wait with merging this PR until I merged jspecify/jspecify#755.

@wmdietl wmdietl changed the title Update to gradle 9.0.0 Update to gradle 9.0.0 and update plugins Sep 23, 2025
@wmdietl wmdietl changed the title Update to gradle 9.0.0 and update plugins Update to gradle 9.3.1 and update plugins Feb 3, 2026
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.

1 participant