File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 1- import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2-
31/*
42 * Copyright (c) 2010-2025 Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.
53 */
64
5+ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
6+
77plugins {
88 id " groovy"
99 id ' maven-publish'
@@ -18,7 +18,11 @@ dependencies {
1818 // This is a runtime dependency of marklogic-client-api but is needed for compiling.
1919 compileOnly " jakarta.xml.bind:jakarta.xml.bind-api:4.0.4"
2020
21- implementation project(' :marklogic-client-api' )
21+ // Gradle 9 does not like for a plugin to have a project dependency; trying to publish it results in a
22+ // NoSuchMethodError pertaining to getProjectDependency. So treating this as a 3rd party dependency. This creates
23+ // additional work during development, though we rarely modify the code in this plugin anymore.
24+ implementation " com.marklogic:marklogic-client-api:${ version} "
25+
2226 implementation ' org.jetbrains.kotlin:kotlin-stdlib:2.1.0'
2327 implementation " com.fasterxml.jackson.module:jackson-module-kotlin:${ jacksonVersion} "
2428 implementation ' com.networknt:json-schema-validator:1.0.88'
@@ -58,11 +62,6 @@ gradlePlugin {
5862}
5963
6064publishing {
61- publications {
62- mainJava(MavenPublication ) {
63- from components. java
64- }
65- }
6665 repositories {
6766 maven {
6867 if (project. hasProperty(" mavenUser" )) {
You can’t perform that action at this time.
0 commit comments