Skip to content
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 marklogic-client-api-functionaltests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ dependencies {

testImplementation 'org.apache.commons:commons-lang3:3.20.0'

testImplementation "com.marklogic:ml-app-deployer:6.2-SNAPSHOT"
testImplementation "com.marklogic:ml-app-deployer:6.2.0"

testImplementation "ch.qos.logback:logback-classic:${logbackVersion}"
testImplementation "org.junit.jupiter:junit-jupiter:${junitVersion}"
Expand Down
2 changes: 1 addition & 1 deletion marklogic-client-api/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dependencies {
testImplementation 'org.apache.commons:commons-lang3:3.20.0'

// Allows talking to the Manage API.
testImplementation "com.marklogic:ml-app-deployer:6.2-SNAPSHOT"
testImplementation "com.marklogic:ml-app-deployer:6.2.0"

testImplementation "org.mockito:mockito-core:5.22.0"

Expand Down
23 changes: 3 additions & 20 deletions test-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,20 @@
* Copyright (c) 2010-2026 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
*/

buildscript {
repositories {
mavenCentral()

mavenLocal()

// Needed for ml-gradle 6.2-SNAPSHOT
maven {
url = "https://bed-artifactory.bedford.progress.com:443/artifactory/ml-maven-snapshots/"
}
}
dependencies {
classpath "com.marklogic:ml-gradle:6.2-SNAPSHOT"
}
}

plugins {
id "net.saliman.properties" version "1.5.2"
id "com.marklogic.ml-gradle" version "6.2.0"
id "com.github.psxpaul.execfork" version "0.2.2"
}

Comment on lines +7 to 10
Copy link

Copilot AI Apr 1, 2026

Choose a reason for hiding this comment

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

Switching to the plugins { id "com.marklogic.ml-gradle" version "6.2.0" } DSL changes how the plugin is resolved: this uses Gradle's plugin resolution (pluginManagement), not the subprojects.repositories block. Since settings.gradle has no pluginManagement { repositories { ... } }, Gradle will only consult the Gradle Plugin Portal by default; if com.marklogic.ml-gradle is only available via Maven Central/mavenLocal (as the prior buildscript { repositories { mavenCentral(); mavenLocal(); ... } } implied), the :test-app build will fail. Consider adding a pluginManagement.repositories section (e.g., include mavenCentral/mavenLocal) or reverting to a buildscript classpath for this plugin.

Suggested change
id "com.marklogic.ml-gradle" version "6.2.0"
id "com.github.psxpaul.execfork" version "0.2.2"
}
id "com.github.psxpaul.execfork" version "0.2.2"
}
buildscript {
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
classpath "com.marklogic:ml-gradle:6.2.0"
}
}
apply plugin: "com.marklogic.ml-gradle"

Copilot uses AI. Check for mistakes.
apply plugin: "com.marklogic.ml-gradle"

// Sometimes, 3 x 20 isn't enough on Jenkins.
mlWaitTillReady {
maxAttempts = 40
}

dependencies {
implementation "io.undertow:undertow-core:2.3.23.Final"
implementation "io.undertow:undertow-servlet:2.3.23.Final"
implementation "io.undertow:undertow-core:2.3.24.Final"
implementation "io.undertow:undertow-servlet:2.3.24.Final"
implementation 'org.slf4j:slf4j-api:2.0.17'
implementation "ch.qos.logback:logback-classic:${logbackVersion}"
implementation "com.fasterxml.jackson.core:jackson-databind:${jacksonVersion}"
Expand Down
Loading