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

Fixed some Gradle introspection problems wit pre-6.1 Gradle Versions #5014

Merged
merged 1 commit into from
Nov 27, 2022

Conversation

lkishalmi
Copy link
Contributor

Yet another fix, restoring some pre-6.1 Gradle Compatibility.

Brief list of the changes:

  • VersionNumber -> GradleVersion (VersionNumber is deprecated for a while)
  • Also comparing on base version, so no comparisons to RCs are needed.
  • Identify plugin by name instead of class
  • Checking for MissingPropertyException-s in getProperty and returning null if that would happen.

I'm still unhappy about the issues caused by the mass auto-discovery feature.

@lkishalmi lkishalmi added the Gradle [ci] enable "build tools" tests label Nov 27, 2022
@lkishalmi lkishalmi added this to the NB17 milestone Nov 27, 2022
Copy link
Member

@sdedic sdedic left a comment

Choose a reason for hiding this comment

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

Many thanks. I still lack the cross-version expertise.

Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

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

I'm not an expert here, but looks sane. GradleVersion indeed seems to be around since a long time and looks like a save usage here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gradle [ci] enable "build tools" tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants