1.1.4 Plugin Publishing Plugins - Reference Documentation
Authors: Graeme Rocher, Peter Ledbrook, Marc Palmer, Jeff Brown, Luke Daley, Burt Beckwith, Lari Hotari
Version: 3.1.1
1.1.4 Plugin Publishing Plugins
New Gradle plugins are available to simplify publishing of plugins and profiles.To utilize the plugin apply theorg.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"
grails-profile-publish
plugin can be used instead:apply plugin: "org.grails.grails-profile" apply plugin: "org.grails.grails-profile-publish"
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"] }
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 = "..." }
notifyPluginPortal
to update the Grails.org Plugins website:gradle notifyPluginPortal