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

gradle: replace deprecated classifier property #6826

Merged
merged 2 commits into from
Feb 17, 2023

Conversation

ZhongRuoyu
Copy link
Contributor

The classifier property of Jar has been deprecated few major versions back, and no longer supported in the newest Gradle 8.0. Replace classifier with archiveClassifier as suggested in docs: https://docs.gradle.org/7.6/dsl/org.gradle.api.tasks.bundling.Jar.html#org.gradle.api.tasks.bundling.Jar:classifier

PR Description

Fixed Issue(s)

Fixes #6825

Documentation

  • I thought about documentation and added the doc-change-required label to this PR if updates are required.

This does not look applicable.

Changelog

  • I thought about adding a changelog entry, and added one if I deemed necessary.

This is not a breaking change so I did not consider this necessary; please let me know if this is needed.

@CLAassistant
Copy link

CLAassistant commented Feb 17, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@StefanBratanov StefanBratanov left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the contribution. :)

The `classifier` property of `Jar` has been deprecated few major
versions back, and no longer supported in the newest Gradle 8.0. Replace
`classifier` with `archiveClassifier` as suggested in docs:
https://docs.gradle.org/7.6/dsl/org.gradle.api.tasks.bundling.Jar.html#org.gradle.api.tasks.bundling.Jar:classifier

Fixes Consensys#6825.

Signed-off-by: Ruoyu Zhong <zhongruoyu@outlook.com>
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.

build.gradle: classifier property of Jar is deprecated and removed in Gradle 8.0
4 participants