-
Notifications
You must be signed in to change notification settings - Fork 896
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
Prepare several Gradle 9.0 deprecations #5686
Conversation
@sh-cho Thanks! |
Oh I just replaced all 😅 |
`JavaExecSpec.main` property is deprecated. Use the `mainClass` property instead.
The `AbstractArchiveTask.archivePath` property has been deprecated. This is scheduled to be removed in Gradle 9.0. https://docs.gradle.org/8.7/dsl/org.gradle.api.tasks.bundling.AbstractArchiveTask.html
It will be handled in the `gradle-scripts` repository.
6156faa
to
ae87f9b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 👍 👍
subrepo: subdir: "gradle/scripts" merged: "f716cfe16" upstream: origin: "https://github.com/line/gradle-scripts" branch: "main" commit: "f716cfe16" git-subrepo: version: "0.4.5" origin: "https://github.com/ingydotnet/git-subrepo" commit: "aa416e4"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @sh-cho!
I pushed a commit that fetches the upstream change.
line/gradle-scripts@f716cfe
subrepo: subdir: "gradle/scripts" merged: "a3211a7ec" upstream: origin: "https://github.com/line/gradle-scripts" branch: "main" commit: "a3211a7ec" git-subrepo: version: "0.4.6" origin: "https://github.com/Homebrew/brew" commit: "e130e47f23"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @sh-cho! 🙇
Thanks a lot, @sh-cho! 👍 |
Motivation:
Prepare deprecations which will be removed or fail in Gradle 9.0
Modifications:
JavaExecSpec.main
tomainClass
(https://docs.gradle.org/8.7/javadoc/org/gradle/process/JavaExecSpec.html#setMain-java.lang.String-)AbstractArchiveTask.archivePath
witharchiveFile
(https://docs.gradle.org/8.7/javadoc/org/gradle/api/tasks/bundling/AbstractArchiveTask.html#getArchivePath--)Result: