(Quick Reference) # 1.2.5 Plugin Publishing Plugins Version: 3.2.7 ## 1.2.5 Plugin Publishing Plugins New Gradle plugins are available to simplify publishing of plugins and profiles. To utilize the plugin apply the `org.grails.grails-plugin-publish` plugin (after any existing Grails plugins for Gradle):
    apply plugin: "org.grails.grails-plugin"
    apply plugin: "org.grails.grails-plugin-publish"
For a profile the `grails-profile-publish` plugin can be used instead:
    apply plugin: "org.grails.grails-profile"
    apply plugin: "org.grails.grails-profile-publish"
Then configure the plugin. For example:
    grailsPublish {
        user = 'user'
        key = 'key'
        githubSlug = 'foo/bar'
        license {
            name = 'Apache-2.0'
        }
        title = "My Plugin Title"
        desc = "My Plugin Description"
        developers = [johndoe:"John Doe"]
    }
The `user` and `key` are your Bintray credentials. With this done you can continue to use `bintrayUpload` to publish your plugin. In addition, if you wish to update the Grails plugin portal, you simply need to configure your `grails.org` credentials:
    grailsPublish {
        ...
        portalUser = "..."
        portalPassword = "..."
    }
Then call `notifyPluginPortal` to update the Grails.org Plugins website:
    gradle notifyPluginPortal
| Quick Reference (hide)