Skip to content

Commit

Permalink
Fixing Gradle publishing configuration
Browse files Browse the repository at this point in the history
Upgraded to 1.2.1 and updating config to match what's documented at https://docs.gradle.org/current/userguide/publishing_gradle_plugins.html .
  • Loading branch information
rjrudin committed Jan 16, 2024
1 parent 4cbb7bc commit 40e3616
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 11 deletions.
14 changes: 4 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

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

id "net.saliman.properties" version "1.5.1"
Expand Down Expand Up @@ -137,25 +137,19 @@ publishing {
}
}

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

plugins {
mlgradlePlugin {
id = 'com.marklogic.ml-gradle'
displayName = 'ml-gradle for MarkLogic'
description = 'Gradle plugin for configuring and deploying applications to MarkLogic'
tags = ['marklogic']
version = project.version
tags.set(['marklogic', 'progress'])
implementationClass = 'com.marklogic.gradle.MarkLogicPlugin'
}
}

mavenCoordinates {
version = project.version
}
}

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

This file was deleted.

0 comments on commit 40e3616

Please sign in to comment.