-
Notifications
You must be signed in to change notification settings - Fork 424
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
Codegen fails when command contains field with argGroup annotation (4.0.1) #777
Comments
Thanks for reporting this! |
I was able to reproduce the problem. There are several issues with argument groups in the annotation processor. I am looking at how to address this. About the warning: The picocli annotation processor is compiled with Java 6, and by default has a supported source version of RELEASE_6. Looking at this StackOverflow question, there may not much that can be done about it. I agree this is annoying. |
It took a while, but I pushed a fix for this issue to master. I will add some more tests and hope to do a 4.0.2 release with this fix later this week. |
Fixed in master. After that you can use the |
Will try to check this evening. Was on bank holiday weekend Saturday to Monday. |
My build now succeeds and all tests pass. In future I intend to move my code to GraalVM, though not yet. |
Thank you for the confirmation! |
Sample argGroup code in documentation causes codegen to fail during gradle build.
Also don't know why warning is present.
Sample project attached.
build.gradle.kts
MutuallyExclusiveOptionsDemo.java
Gradle console output
args-bug.zip
The text was updated successfully, but these errors were encountered: