Skip to content

MLE-12345 Updated JUnit to 5.13.4 #1803

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

Merged
merged 1 commit into from
Jul 23, 2025
Merged

MLE-12345 Updated JUnit to 5.13.4 #1803

merged 1 commit into from
Jul 23, 2025

Conversation

rjrudin
Copy link
Contributor

@rjrudin rjrudin commented Jul 23, 2025

Brought back fix for Gradle deprecation warning as well. Updated Gradle wrapper to latest version too - 8.14.3.

@Copilot Copilot AI review requested due to automatic review settings July 23, 2025 17:22
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates JUnit from version 5.11.1 to 5.13.4 and addresses related Gradle compatibility issues. The changes also include upgrading the Gradle wrapper to version 8.14.3.

  • Updates JUnit Jupiter dependency to version 5.13.4 across test modules
  • Adds required junit-platform-launcher dependency to fix test discovery issues with JUnit 5.12+
  • Updates Gradle wrapper from 8.13 to 8.14.3 with enhanced configuration

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
marklogic-client-api/build.gradle Updates JUnit version and uncomments junit-platform-launcher dependency
marklogic-client-api-functionaltests/build.gradle Updates JUnit version and adds junit-platform-launcher dependency
gradlew.bat Updated Gradle wrapper script with improved error handling and execution method
gradlew Updated Gradle wrapper script with modernized shell scripting and execution method
gradle/wrapper/gradle-wrapper.properties Updates Gradle distribution to 8.14.3 with additional validation settings

@@ -114,7 +114,7 @@ case "$( uname )" in #(
NONSTOP* ) nonstop=true ;;
esac

CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
CLASSPATH="\\\"\\\""
Copy link
Preview

Copilot AI Jul 23, 2025

Choose a reason for hiding this comment

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

The CLASSPATH is set to escaped quotes which appears incorrect. This should likely be an empty string or properly escaped empty quotes for the classpath.

Suggested change
CLASSPATH="\\\"\\\""
CLASSPATH=""

Copilot uses AI. Check for mistakes.

BillFarber
BillFarber previously approved these changes Jul 23, 2025
@rjrudin rjrudin force-pushed the feature/junit-upgrade branch 2 times, most recently from 8bebdae to 3f7b563 Compare July 23, 2025 17:27
Brought back fix for Gradle deprecation warning as well. Updated Gradle wrapper to latest version too - 8.14.3.

And gave up on trying to ignore Spring dependencies from marklogic-junit5 - just cloned the one class we need.
@rjrudin rjrudin force-pushed the feature/junit-upgrade branch from 3f7b563 to ca0c6fe Compare July 23, 2025 17:29
@rjrudin rjrudin merged commit a3bdcb7 into develop Jul 23, 2025
2 checks passed
@rjrudin rjrudin deleted the feature/junit-upgrade branch July 23, 2025 18:06
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.

2 participants