Skip to content

Gradle Plugin for Java Generation from CRD #4829

@teimyBr

Description

@teimyBr

Is your enhancement related to a problem? Please describe

At the Moment we are using this

tasks.register('createCrds') {
    doLast {
        def config = new io.fabric8.java.generator.Config()
        def runner = new io.fabric8.java.generator.FileJavaGenerator(config, new File("${projectDir}/chart/templates/Test.yaml"))
        runner.run(
            new File("${buildDir}/generated/sources/crds/main/java")
        )
    }
}

Describe the solution you'd like

Like fabric8-maven-plugin
We want also a Plugin for Gradle to generate CRD and not using this above.

Describe alternatives you've considered

No response

Additional context

This Code above leeds issue when fabric8 is updating this methodes we are using

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions