-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release task re-applies all project plugins? #126
Comments
I really don't know whats happening. maybe in your plugin you can print the plugins of the root project. I'm also not sure if you can apply plugins to the root project. Not sure how the exact lifecycle with root and sub-projects work. |
If I had to hazard a guess, this might be due to the plugin using the |
I don't think this is an issue with the release plugin, but more like how you are applying it. We successfully apply the release plugin in our own plugin here at researchgate, though we don't have projects with subprojects. |
This is probably fixed after #116 got merged. If you want you can test it.
|
Sweet, I'll give it another go soon and report back. |
I'm not sure I understand what I'm seeing. Essentially, I'm writing a plugin that applies other plugins, including the
gradle-release
plugin:The problem is that the conditional should only pass once, but it doesn't. The
release
task appears to be recreating all the project graphs, which leads to it applying itself again because of the above code. This leads to the task getting stuck in a loop and it keeps asking me for the current release version.At least I'm seeing build output during the
release
task that I should only see once, during the initial configuration phase so I reckon it must somehow reconfigure the whole project?Am I missing something?
The text was updated successfully, but these errors were encountered: