diff --git a/build.gradle b/build.gradle index da17deaba..bba193e01 100644 --- a/build.gradle +++ b/build.gradle @@ -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" @@ -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 diff --git a/src/main/resources/META-INF/gradle-plugins/com.marklogic.ml-gradle.properties b/src/main/resources/META-INF/gradle-plugins/com.marklogic.ml-gradle.properties deleted file mode 100644 index 0eb45a651..000000000 --- a/src/main/resources/META-INF/gradle-plugins/com.marklogic.ml-gradle.properties +++ /dev/null @@ -1 +0,0 @@ -implementation-class=com.marklogic.gradle.MarkLogicPlugin