Closed dkowis closed 9 months ago
maybe the same problem as this issue https://github.com/micronaut-projects/micronaut-starter/issues/2007
which references this issue : https://github.com/remkop/picocli/issues/1564
it seems that KSP is not a supported annotation processor.
@dkowis thanks for reporting. Micronaut Picocli with Kotlin will only work if you use KAPT until Picocli supports KSP.
@wetted can you create a documentation PR in this repository and close this issue? Create also a starter PR with a validator for KSP + picocli
Of note, the launch.micronaut.io generates KSP stuff with KSP, not KAPT
Also, this is the upstream issue keeping it from happening: https://github.com/remkop/picocli/issues/1564
Expected Behavior
I should be able to run a default app without having to change any thing. something seems to be missing with the KSP change, since all the docs reference annotation-processor
Actual Behaviour
sadly it shows an error the same as an old bug: #23
Steps To Reproduce
./gradlew nativeRun
Environment Information
linux graalvm 17 gradle kts
Example Application
https://github.com/dkowis/micronaut-picocli-kotlin-demo
Version
4.2.2