Skip to content

Commit 5152801

Browse files
committed
Progress
1 parent eb61568 commit 5152801

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

gradle.properties

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
group=com.marklogic
22
version=8.0-SNAPSHOT
3-
describedName=MarkLogic Java Client API
43
publishUrl=file:../marklogic-java/releases
54

65
okhttpVersion=5.1.0

marklogic-client-api/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -140,14 +140,14 @@ publishing {
140140
mainJava(MavenPublication) {
141141
from components.java
142142
pom {
143-
name = "${group}:${project.name}"
143+
name = "${project.group}:${project.name}"
144144
description = "The MarkLogic Java Client API"
145145
packaging = "jar"
146146
url = "https://github.com/marklogic/java-client-api"
147147
licenses {
148148
license {
149149
name = "The Apache License, Version 2.0"
150-
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
150+
url = "https://www.apache.org/licenses/LICENSE-2.0.txt"
151151
}
152152
}
153153
developers {
@@ -160,7 +160,7 @@ publishing {
160160
}
161161
}
162162
scm {
163-
url = "git@github.com:marklogic/java-client-api.git"
163+
url = "https://github.com/marklogic/java-client-api"
164164
connection = "scm:git:[email protected]:marklogic/java-client-api.git"
165165
developerConnection = "scm:git:[email protected]:marklogic/java-client-api.git"
166166
}
@@ -174,7 +174,7 @@ publishing {
174174
username = mavenUser
175175
password = mavenPassword
176176
}
177-
url publishUrl
177+
url = publishUrl
178178
allowInsecureProtocol = true
179179
} else {
180180
name = "central"

ml-development-tools/build.gradle

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2+
13
/*
24
* Copyright (c) 2010-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
35
*/
@@ -29,7 +31,7 @@ dependencies {
2931
// Added to avoid problem where processResources fails because - somehow - the plugin properties file is getting
3032
// copied twice. This started occurring with the upgrade of Gradle from 6.x to 7.x.
3133
tasks.processResources {
32-
duplicatesStrategy = "exclude"
34+
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
3335
}
3436

3537
tasks.register("mlDevelopmentToolsJar", Jar) {
@@ -45,15 +47,15 @@ gradlePlugin {
4547
id = 'com.marklogic.ml-development-tools'
4648
displayName = 'ml-development-tools MarkLogic Data Service Tools'
4749
description = 'ml-development-tools plugin for developing data services on MarkLogic'
48-
tags.set(['marklogic', 'progress'])
50+
tags = ['marklogic', 'progress']
4951
implementationClass = 'com.marklogic.client.tools.gradle.ToolsPlugin'
5052
}
5153
}
5254
}
5355

5456
publishing {
5557
publications {
56-
main(MavenPublication) {
58+
mainJava(MavenPublication) {
5759
from components.java
5860
}
5961
}
@@ -70,11 +72,10 @@ publishing {
7072
}
7173
}
7274

73-
compileKotlin {
74-
kotlinOptions.jvmTarget = '17'
75-
}
76-
compileTestKotlin {
77-
kotlinOptions.jvmTarget = '17'
75+
tasks.withType(KotlinCompile).configureEach {
76+
compilerOptions {
77+
jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17)
78+
}
7879
}
7980

8081
tasks.register("generateTests", JavaExec) {

0 commit comments

Comments
 (0)