-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Update Gradle to 7.4.1 #2078
Update Gradle to 7.4.1 #2078
Conversation
Can one of the admins verify this patch? |
❌ Gradle Check failure a0be7fd535c0ec094b771c445e53337480c0c853 |
buildSrc/src/main/groovy/org/opensearch/gradle/precommit/LicenseHeadersTask.groovy
Show resolved
Hide resolved
❌ Gradle Check failure fef1ef5b33b51f54d12deb9fd59c71e1f338af85 |
❌ Gradle Check failure 591b75fd52d906f7c51f4bc4de6c89e097e3841c |
Converting to draft, needs [1]. [2] to be fixed first [3] [1] https://github.com/policeman-tools/forbidden-apis |
buildSrc/src/main/groovy/org/opensearch/gradle/precommit/LicenseHeadersTask.groovy
Show resolved
Hide resolved
buildSrc/src/main/java/org/opensearch/gradle/precommit/FilePermissionsTask.java
Outdated
Show resolved
Hide resolved
Thanks for help @uschindler ! |
❌ Gradle Check failure 0b85091ffd683dfbd420d088f53488b1e54b8dc4 |
❌ Gradle Check failure de9d8343643bf9497ccefcba08e3f1b44f623eea |
❌ Gradle Check failure 4ed8886fb0e3a1450ff64b58707193bf306926a6 |
✅ Gradle Check success 87851c17464ebf1ea95dae79678cb8f5669269b1 |
buildSrc/src/main/resources/de/thetaphi/forbiddenapis/gradle/plugin-init.groovy
Outdated
Show resolved
Hide resolved
Signed-off-by: Andriy Redko <[email protected]>
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.
Looks fine.
I think, you may add |
Added everywhere except `ThirdPartyAuditTask.java, it scans JARs which should not be relative to the project (imho), thanks @uschindler ! |
I do not know what the default is. Maybe check and be explicit for the one with JAR files. But this is not fully related to this task PR. |
As per official docs, https://docs.gradle.org/current/javadoc/org/gradle/api/tasks/PathSensitive.html:
|
❌ Gradle Check failure 0f14f2026933613d99b7a3236d78a183734fe5b3 |
✅ Gradle Check success ff27115ae11e90a1580f4049002c63fec510ace0 |
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.
Just for my own edification, did you run ./gradlew wrapper --gradle-version=7.4.1
to do the update? When I did that, it also made a lot of changes to gradlew
but I don't see that file changed in this PR.
…LATIVE) where applicable Signed-off-by: Andriy Redko <[email protected]>
I am going to skip the backport to 2.0 to keep that stable, but let me know if you feel otherwise. |
* Update Gradle to 7.4.1 Signed-off-by: Andriy Redko <[email protected]> * Address code review comments, added @PathSensitive(PathSensitivity.RELATIVE) where applicable Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 223efe6)
I think it is low risk change, would be good to have it in 2.0, @andrross wdyt? |
@CEHENKLE WDYT? |
* Update Gradle to 7.4.1 Signed-off-by: Andriy Redko <[email protected]> * Address code review comments, added @PathSensitive(PathSensitivity.RELATIVE) where applicable Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 223efe6)
Thank you for making this upgrade @reta ! |
Thank @tlfeng , yes, aggregate coverage reports is very appealing, we have to explore that, I agree |
* Update Gradle to 7.4.1 Signed-off-by: Andriy Redko <[email protected]> * Address code review comments, added @PathSensitive(PathSensitivity.RELATIVE) where applicable Signed-off-by: Andriy Redko <[email protected]> (cherry picked from commit 223efe6) Co-authored-by: Andriy Redko <[email protected]>
Signed-off-by: Andriy Redko [email protected]
Description
Update Gradle to 7.4 (never ending story)
Release notes: https://docs.gradle.org/7.4/release-notes.html
Issues Resolved
N/A
Check List
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.