Skip to content

Commit 0ea2bb6

Browse files
authored
Merge pull request #1794 from BillFarber/task/prepare4Gradle9
MLE-23004 - Addresses Gradle 9 deprecation warnings
2 parents 7733458 + 86a29db commit 0ea2bb6

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
buildscript {
77
repositories {
88
maven {
9-
url "https://plugins.gradle.org/m2/"
9+
url = "https://plugins.gradle.org/m2/"
1010
}
1111
}
1212
dependencies {

marklogic-client-api/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ publishing {
170170
password mavenPassword
171171
}
172172
}
173-
url publishUrl
173+
url = publishUrl
174174
}
175175
}
176176
}
@@ -203,7 +203,7 @@ task testRows(type: Test) {
203203

204204
task debugCloudAuth(type: JavaExec) {
205205
description = "Test program for manual testing of cloud-based authentication against a Progress Data Cloud instance"
206-
main = 'com.marklogic.client.test.MarkLogicCloudAuthenticationDebugger'
206+
mainClass = 'com.marklogic.client.test.MarkLogicCloudAuthenticationDebugger'
207207
classpath = sourceSets.test.runtimeClasspath
208208
args = [cloudHost, cloudKey, cloudBasePath]
209209
}

ml-development-tools/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ plugins {
55
id 'maven-publish'
66
id "com.gradle.plugin-publish" version "1.2.1"
77
id "java-gradle-plugin"
8-
id 'org.jetbrains.kotlin.jvm' version '1.8.22'
8+
id 'org.jetbrains.kotlin.jvm' version '1.9.24'
99
}
1010

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

@@ -37,7 +37,7 @@ tasks.processResources {
3737

3838
tasks.register("mlDevelopmentToolsJar", Jar) {
3939
dependsOn classes
40-
archivesBaseName = 'ml-development-tools'
40+
archiveBaseName = 'ml-development-tools'
4141
}
4242

4343
gradlePlugin {
@@ -68,7 +68,7 @@ publishing {
6868
password mavenPassword
6969
}
7070
}
71-
url publishUrl
71+
url = publishUrl
7272
}
7373
}
7474
}

test-app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tasks.register("runBlockingReverseProxyServer", JavaExec) {
3333
"or any value less than 1024, you will need to use sudo to run this - e.g. " +
3434
"sudo ./gradlew runBlockingReverseProxyServer -PrpsHttpsPort=443 ."
3535
classpath = sourceSets.main.runtimeClasspath
36-
main = "com.marklogic.client.test.ReverseProxyServer"
36+
mainClass = "com.marklogic.client.test.ReverseProxyServer"
3737
args = [rpsMarkLogicServer, rpsProxyServer, rpsHttpPort, rpsHttpsPort, rpsCustomMappings]
3838
}

0 commit comments

Comments
 (0)