Skip to content

CRDGenerator v2: Gradle Plugin #5945

Open
@baloo42

Description

@baloo42

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 planned new 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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions