Skip to content

Commit

Permalink
update: plugin-publish to 1.2.1 optimised build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
shalousun committed Mar 21, 2024
1 parent ef350cd commit 9fe593b
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,29 +62,21 @@ artifacts {
}


gradlePlugin {
plugins {
greetingsPlugin {
id = 'com.ly.smart-doc'
implementationClass = 'com.ly.doc.gradle.plugin.SmartDocPlugin'
}
}
}
// publish to https://plugins.gradle.org/
pluginBundle {
gradlePlugin {
website = 'https://github.com/TongchengOpenSource/smart-doc-gradle-plugin'
vcsUrl = 'https://github.com/TongchengOpenSource/smart-doc-gradle-plugin'
description = 'smart-doc gradle plugin'
tags = ['smart-doc']
plugins {
greetingsPlugin {
// id is captured from java-gradle-plugin configuration
create("smartdocPlugin") {
id = 'com.ly.smart-doc'
implementationClass = 'com.ly.doc.gradle.plugin.SmartDocPlugin'
displayName = 'smart-doc gradle plugin'
description = 'smart-doc gradle plugin'
tags.set(['smart-doc', 'gradle-plugin'])
}
}
}


// publish to local, see https://docs.gradle.org/current/userguide/publishing_maven.html
publishing {
publications {
Expand Down

0 comments on commit 9fe593b

Please sign in to comment.