Skip to content

Commit

Permalink
ml-development-tools now uses 1.0.0 of publish plugin
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rjrudin authored and SameeraPriyathamTadikonda committed Sep 21, 2022
1 parent 64f1351 commit c8caa58
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions ml-development-tools/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "groovy"
id 'maven-publish'
id 'com.gradle.plugin-publish' version '0.12.0'
id 'com.gradle.plugin-publish' version '1.0.0'
id 'java-gradle-plugin'
id 'org.jetbrains.kotlin.jvm' version '1.3.72'
}
Expand All @@ -26,14 +26,18 @@ task mlDevelopmentToolsJar(type: Jar, dependsOn: classes) {
archivesBaseName = 'ml-development-tools'
}

pluginBundle {
website = 'https://github.com/marklogic/java-client-api'
vcsUrl = '[email protected]:marklogic/java-client-api.git'
tags = ['marklogic']
}
gradlePlugin {
plugins {
mlDevelopmentToolsPlugin {
id = 'com.marklogic.ml-development-tools'
implementationClass = 'com.marklogic.client.tools.gradle.ToolsPlugin'
displayName = 'ml-development-tools MarkLogic Data Service Tools'
description = 'ml-development-tools plugin for developing data services on MarkLogic'
version = project.version
}
}
}
Expand All @@ -46,20 +50,6 @@ publishing {
}
}

pluginBundle {
website = 'https://github.com/marklogic/java-client-api'
vcsUrl = '[email protected]:marklogic/java-client-api.git'
plugins {
mlDevelopmentToolsPlugin {
id = 'com.marklogic.ml-development-tools'
displayName = 'ml-development-tools MarkLogic Data Service Tools'
description = 'ml-development-tools plugin for developing data services on MarkLogic'
tags = ['marklogic', 'development tools', 'data services']
version = project.version
}
}
}

compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
Expand Down

0 comments on commit c8caa58

Please sign in to comment.