diff --git a/README.md b/README.md index abcc6d3..e5e3b56 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ apply plugin: 'org.ajoberstar.git-publish' ### Configuration -**NOTE:** In general, there are no default values here. The one exception is that the `repoUri` will be automatically set if you use the `org.ajoberstar.grgit` plugin to your project's origin repo URI. +**NOTE:** In general, there are no default values here. The main exception is that the `repoUri` will be automatically set if you use the `org.ajoberstar.grgit` plugin to your project's origin repo URI. ```groovy gitPublish { diff --git a/build.gradle b/build.gradle index c667791..f4ce594 100644 --- a/build.gradle +++ b/build.gradle @@ -13,6 +13,7 @@ plugins { id 'maven-publish' id 'com.jfrog.bintray' version '1.7.3' id 'org.sonarqube' version '2.2.1' + id 'com.gradle.plugin-publish' } apply plugin: 'org.ajoberstar.semver-vcs-grgit' @@ -67,6 +68,23 @@ publishing { } } +pluginBundle { + website = 'https://github.com/ajoberstar/gradle-git-publish' + vcsUrl = 'https://github.com/ajoberstar/gradle-git-publish.git' + description = 'Publishing to Git repositories' + plugins { + publishPlugin { + id = 'org.ajoberstar.git-publish' + displayName = 'Git Publish Plugin' + } + } + mavenCoordinates { + groupId = project.group + artifactId = project.name + version = project.version + } +} + bintray { user = System.env['BINTRAY_USER'] key = System.env['BINTRAY_KEY']