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
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
url = "https://plugins.gradle.org/m2/"
}
}
dependencies {
Expand Down
4 changes: 2 additions & 2 deletions marklogic-client-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ publishing {
password mavenPassword
}
}
url publishUrl
url = publishUrl
}
}
}
Expand Down Expand Up @@ -203,7 +203,7 @@ task testRows(type: Test) {

task debugCloudAuth(type: JavaExec) {
description = "Test program for manual testing of cloud-based authentication against a Progress Data Cloud instance"
main = 'com.marklogic.client.test.MarkLogicCloudAuthenticationDebugger'
mainClass = 'com.marklogic.client.test.MarkLogicCloudAuthenticationDebugger'
classpath = sourceSets.test.runtimeClasspath
args = [cloudHost, cloudKey, cloudBasePath]
}
Expand Down
8 changes: 4 additions & 4 deletions ml-development-tools/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ plugins {
id 'maven-publish'
id "com.gradle.plugin-publish" version "1.2.1"
id "java-gradle-plugin"
id 'org.jetbrains.kotlin.jvm' version '1.8.22'
id 'org.jetbrains.kotlin.jvm' version '1.9.24'
}

dependencies {
compileOnly gradleApi()
implementation project(':marklogic-client-api')
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.8.22'
implementation 'org.jetbrains.kotlin:kotlin-stdlib:1.9.24'
implementation "com.fasterxml.jackson.module:jackson-module-kotlin:${jacksonVersion}"
implementation 'com.networknt:json-schema-validator:1.0.88'

Expand All @@ -37,7 +37,7 @@ tasks.processResources {

tasks.register("mlDevelopmentToolsJar", Jar) {
dependsOn classes
archivesBaseName = 'ml-development-tools'
archiveBaseName = 'ml-development-tools'
}

gradlePlugin {
Expand Down Expand Up @@ -68,7 +68,7 @@ publishing {
password mavenPassword
}
}
url publishUrl
url = publishUrl
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion test-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ tasks.register("runBlockingReverseProxyServer", JavaExec) {
"or any value less than 1024, you will need to use sudo to run this - e.g. " +
"sudo ./gradlew runBlockingReverseProxyServer -PrpsHttpsPort=443 ."
classpath = sourceSets.main.runtimeClasspath
main = "com.marklogic.client.test.ReverseProxyServer"
mainClass = "com.marklogic.client.test.ReverseProxyServer"
args = [rpsMarkLogicServer, rpsProxyServer, rpsHttpPort, rpsHttpsPort, rpsCustomMappings]
}