Skip to content

Commit c8caa58

Browse files
rjrudinSameeraPriyathamTadikonda
authored andcommitted
ml-development-tools now uses 1.0.0 of publish plugin
Per the docs at https://docs.gradle.org/current/userguide/publishing_gradle_plugins.html . This should hopefully fix the error we're getting from the Gradle plugins site about hash collisions on javadoc and groovydoc.
1 parent 64f1351 commit c8caa58

File tree

1 file changed

+6
-16
lines changed

1 file changed

+6
-16
lines changed

ml-development-tools/build.gradle

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
plugins {
22
id "groovy"
33
id 'maven-publish'
4-
id 'com.gradle.plugin-publish' version '0.12.0'
4+
id 'com.gradle.plugin-publish' version '1.0.0'
55
id 'java-gradle-plugin'
66
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
77
}
@@ -26,14 +26,18 @@ task mlDevelopmentToolsJar(type: Jar, dependsOn: classes) {
2626
archivesBaseName = 'ml-development-tools'
2727
}
2828

29+
pluginBundle {
30+
website = 'https://github.com/marklogic/java-client-api'
31+
vcsUrl = '[email protected]:marklogic/java-client-api.git'
32+
tags = ['marklogic']
33+
}
2934
gradlePlugin {
3035
plugins {
3136
mlDevelopmentToolsPlugin {
3237
id = 'com.marklogic.ml-development-tools'
3338
implementationClass = 'com.marklogic.client.tools.gradle.ToolsPlugin'
3439
displayName = 'ml-development-tools MarkLogic Data Service Tools'
3540
description = 'ml-development-tools plugin for developing data services on MarkLogic'
36-
version = project.version
3741
}
3842
}
3943
}
@@ -46,20 +50,6 @@ publishing {
4650
}
4751
}
4852

49-
pluginBundle {
50-
website = 'https://github.com/marklogic/java-client-api'
51-
vcsUrl = '[email protected]:marklogic/java-client-api.git'
52-
plugins {
53-
mlDevelopmentToolsPlugin {
54-
id = 'com.marklogic.ml-development-tools'
55-
displayName = 'ml-development-tools MarkLogic Data Service Tools'
56-
description = 'ml-development-tools plugin for developing data services on MarkLogic'
57-
tags = ['marklogic', 'development tools', 'data services']
58-
version = project.version
59-
}
60-
}
61-
}
62-
6353
compileKotlin {
6454
kotlinOptions.jvmTarget = '1.8'
6555
}

0 commit comments

Comments
 (0)