nebula-plugins / nebula-plugin-plugin

Plugin for plugins, heavily opinionated about nebula-plugins
Apache License 2.0
15 stars 15 forks source link

can not apply this plugin on subproject #34

Closed foxundermoon closed 6 years ago

foxundermoon commented 7 years ago

root project as plugin project is OK. but as subproject is failure

* What went wrong:
An exception occurred applying plugin request [id: 'nebula.plugin-plugin', version: '5.6.0']
> Failed to apply plugin [id 'nebula.nebula-release']
   > Could not get unknown property 'release' for task set of type org.gradle.api.internal.tasks.DefaultTaskContainer.
rspieldenner commented 7 years ago

You need at least the nebula.release plugin applied to the root, nebula.plugin-plugin applies the release plugin. Also I would recommend using the nebula.plugin-plugin as an example of how to write a project plugin and non necessarily take our opinions as your opinions.

On Mon, Apr 17, 2017 at 2:14 AM foxundermoon notifications@github.com wrote:

root project as plugin project is OK. but as subproject is failure

  • What went wrong: An exception occurred applying plugin request [id: 'nebula.plugin-plugin', version: '5.6.0']

    Failed to apply plugin [id 'nebula.nebula-release'] Could not get unknown property 'release' for task set of type org.gradle.api.internal.tasks.DefaultTaskContainer.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/nebula-plugins/nebula-plugin-plugin/issues/34, or mute the thread https://github.com/notifications/unsubscribe-auth/AAvvFqDl6JhoNJzF5wXOEXs38KpuGMx5ks5rwy1kgaJpZM4M_AA3 .