-
Notifications
You must be signed in to change notification settings - Fork 30
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
Default inferredScope setting #115
Comments
The rationale for ignoring the parent Gradle in a composite build is that it's not clear to me that the scope or stage you choose for one project will always match what you would choose for all projects in the composite build. I'm generally assuming that the primary project in the composite is the only one you would be doing a release from. May be inaccurate, and may need to be better clarified in the output, but it seems like a safer behavior. Not sure how the default ties to this use case. Any further context on that one? |
I have a gradle plugin project called project_plugin, a bit like your gradle-defaults project, which configures the reckon plugin and sets in code The thing is, is I have a composite top level project which can assemble all subprojects, which includes the project_plugin I just mentioned. When doing I've made an example here https://github.com/rgozim/plugin-composite
|
Ah, I see. So I really only want to avoid having the command line property (or parent project, in general) inherit down to the included builds, but if they're explcitly setting the property as with the plugin you have that should be allowed. Will have to look into how to pull that off. |
I am currently toying around with reckon in a composite build project, and found that
ReckonExtension
isn't able to detect/pickup prosperities, such as-Preckon.scope=patch
from the command line.Step wise debugging through the code, I find that the debugger evaluates to
reckon/reckon-core/src/main/java/org/ajoberstar/reckon/core/Reckoner.java
Line 86 in e71521a
I wonder if having an option at configuration time in the
reckon
plugin block to set a default scope would be a solution to this? For example:I guess I should also add, in this line
reckon/reckon-gradle/src/main/java/org/ajoberstar/reckon/gradle/ReckonExtension.java
Line 74 in e71521a
The text was updated successfully, but these errors were encountered: