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
Conversation
72a396d
to
28e4d38
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
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
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@@ -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 |
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.
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' |
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.
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 *** 😄
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.
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).
f396fa1
to
aeec633
Compare
classifier
(deprecated) witharchiveClassifier
.