Open
Description
Description
Because the CRD-Generator annotation processor is now deprecated, we need a replacement.
(see #5942)
A CRD-Generator Gradle plugin could search for a top-level annotation (or interface) and generate the CRDs using the CRD-Generator v2 API.
Additional context
-
Jandex could be used to find and index the relevant annotations/classes.
-
The following options should be supported:
- Enable / disable parallel generation (enabled by default)
- CRD versions (v1)
- outputPath
- header in output files
- Enable debug output
-
The
also plannednew Gradle plugin should have feature parity with the CRD-Generator maven plugin (CRDGenerator v2: Maven Plugin #5944)should support the same options. -
The docs need updating, especially the Quickstart section which should focus strictly on the Gradle and Maven Plugins (refactor(crd-generator): deprecation of CRD Generator v1 #6674 (comment))