Skip to content

MLE-23004 - Addresses Gradle 9 deprecation warnings #1794

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 21, 2025

Conversation

BillFarber
Copy link
Contributor

Updates the Gradle build configuration to resolve deprecation warnings in Gradle 9.

  • Replaces deprecated assignment syntax in build.gradle files.
  • Updates the Kotlin version and dependencies in ml-development-tools/build.gradle.
  • Replaces deprecated main property with mainClass in task definitions.

MLE-23004

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 the Gradle build configuration to resolve deprecation warnings when using Gradle 9 by replacing deprecated syntax with modern equivalents.

  • Replaces deprecated main property with mainClass in JavaExec task definitions
  • Updates Kotlin version from 1.8.22 to 1.9.24 and corresponding dependencies
  • Replaces deprecated assignment syntax with explicit assignment operators

Reviewed Changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
test-app/build.gradle Updates JavaExec task to use mainClass instead of deprecated main property
ml-development-tools/build.gradle Updates Kotlin version, replaces deprecated archivesBaseName with archiveBaseName, and fixes URL assignment syntax
marklogic-client-api/build.gradle Updates JavaExec task and fixes URL assignment syntax in publishing configuration

Copy link
Contributor

@rjrudin rjrudin left a comment

Choose a reason for hiding this comment

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

woot

@BillFarber BillFarber merged commit 0ea2bb6 into marklogic:develop Jul 21, 2025
1 of 2 checks passed
@BillFarber BillFarber deleted the task/prepare4Gradle9 branch July 21, 2025 20:43
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