Skip to content

Commit 40e3616

Browse files
committed
Fixing Gradle publishing configuration
Upgraded to 1.2.1 and updating config to match what's documented at https://docs.gradle.org/current/userguide/publishing_gradle_plugins.html .
1 parent 4cbb7bc commit 40e3616

File tree

2 files changed

+4
-11
lines changed

2 files changed

+4
-11
lines changed

build.gradle

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55

66
// Ignored as it depends on Java 11; can uncomment and use Java 11 when it needs to be run
77
// id "com.github.jk1.dependency-license-report" version "2.1"
8-
id "com.gradle.plugin-publish" version "0.20.0"
8+
id "com.gradle.plugin-publish" version "1.2.1"
99
id "java-gradle-plugin"
1010

1111
id "net.saliman.properties" version "1.5.1"
@@ -137,25 +137,19 @@ publishing {
137137
}
138138
}
139139

140-
pluginBundle {
140+
gradlePlugin {
141141
website = 'https://www.marklogic.com/'
142142
vcsUrl = 'https://github.com/marklogic/' + project.name + '.git'
143-
description = 'Publishes ml-gradle'
144-
tags = ['marklogic']
145143

146144
plugins {
147145
mlgradlePlugin {
148146
id = 'com.marklogic.ml-gradle'
149147
displayName = 'ml-gradle for MarkLogic'
150148
description = 'Gradle plugin for configuring and deploying applications to MarkLogic'
151-
tags = ['marklogic']
152-
version = project.version
149+
tags.set(['marklogic', 'progress'])
150+
implementationClass = 'com.marklogic.gradle.MarkLogicPlugin'
153151
}
154152
}
155-
156-
mavenCoordinates {
157-
version = project.version
158-
}
159153
}
160154

161155
// See https://github.com/snyk/gradle-plugin for more information

src/main/resources/META-INF/gradle-plugins/com.marklogic.ml-gradle.properties

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)