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

Upgrade to gradle 8.8 nightly #101

Merged
merged 8 commits into from Mar 1, 2024
Merged

Upgrade to gradle 8.8 nightly #101

merged 8 commits into from Mar 1, 2024

Conversation

smola
Copy link
Member

@smola smola commented Mar 1, 2024

  • Upgrade to gradle 8.8-20240301001423+0000.
  • Replace classifier (deprecated) with archiveClassifier.
  • Remove UnnecessarySubstring codenarc rule (deprecated).
  • Fix for UnnecessaryGString codenarc rule.
  • Ensure copyNativeLibs runs before any task that implicitly depends on it (required by gradle).

@smola smola requested a review from a team as a code owner March 1, 2024 08:32
@smola smola force-pushed the smola/gradle-8.6 branch 3 times, most recently from 72a396d to 28e4d38 Compare March 1, 2024 09:52
@codecov-commenter
Copy link

codecov-commenter commented Mar 1, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 58.55%. Comparing base (d88945f) to head (aeec633).

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #101      +/-   ##
============================================
+ Coverage     58.54%   58.55%   +0.01%     
  Complexity      134      134              
============================================
  Files            34       34              
  Lines          3459     3458       -1     
  Branches        781      780       -1     
============================================
  Hits           2025     2025              
  Misses          900      900              
+ Partials        534      533       -1     
Flag Coverage Δ
helper 58.55% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@@ -133,26 +131,29 @@ location of your Java installation."
fi
else
JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
if ! command -v java >/dev/null 2>&1

Choose a reason for hiding this comment

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

Much better! nice

@@ -308,7 +308,7 @@ class ByteBufferSerializerTests implements PowerwafTrait {
void 'observes maximum string size'() {
maxStringSize = 3
// the size is number of UTF-16 code units
def str = "\uFFFD" * 3 + 'x'
def str = '\uFFFD' * 3 + 'x'

Choose a reason for hiding this comment

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

People almost never realize that double quotes in Groovy means a GString and it is not a String, it works 99.999% of the time, but when it fails it's usually a pain in the *** 😄

Copy link
Contributor

Choose a reason for hiding this comment

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

If I recall correctly, double quotes "..." will be interpreted as GString only there is interpolation (e.g. contains ${...}) otherwise it still will be a Java String.

* Replace `classifier` (deprecated) with `archiveClassifier`.
* Remove UnnecessarySubstring codenarc rule (deprecated).
* Fix for UnnecessaryGString codenarc rule.
* Ensure copyNativeLibs runs before any task that implicitly depends on
  it (required by gradle).
@smola smola force-pushed the smola/gradle-8.6 branch 2 times, most recently from f396fa1 to aeec633 Compare March 1, 2024 12:55
@smola smola changed the title Upgrade to gradle 8.6 Upgrade to gradle 8.8 nightly Mar 1, 2024
@smola smola merged commit b2c5cf4 into master Mar 1, 2024
13 checks passed
@smola smola deleted the smola/gradle-8.6 branch March 1, 2024 14:15
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.

None yet

4 participants