Skip to content

Conversation

@Fiouz
Copy link

@Fiouz Fiouz commented Aug 2, 2022

  • Upgrade Gradle from 7.0 to 7.5
  • Update the existing unit test to test Gradle 7.5
  • Also add GitHub Gradle Wrapper binary checking to avoid tampering

@VitaliyKulikov
Copy link

VitaliyKulikov commented Aug 2, 2022

also, you can use in your readme file the way how to use git properties in a modern way)

version = project.provider{project.ext.gitProps['git.commit.id.abbrev']}

https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html

@Fiouz
Copy link
Author

Fiouz commented Aug 4, 2022

also, you can use in your readme file the way how to use git properties in a modern way)

version = project.provider{project.ext.gitProps['git.commit.id.abbrev']}

https://docs.gradle.org/current/javadoc/org/gradle/api/provider/Provider.html

The scope of this PR is purposely limited to changing the version of the build tool, in order to facilitate code review.
As such, upgrading the project to modern Gradle idioms that were already missing before this PR (the Provider API has been around since Gradle 4) will not be done here (this can be done in a separate PR).

@rivancic
Copy link

No activity here?

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.

3 participants