Files
wehub-resource-sync a9cd7750f4
CI / unit-test (push) Has been cancelled
CI / detect-changes (push) Has been cancelled
CI / build (push) Has been cancelled
Publish docs via GitHub Pages / Deploy docs (push) Has been cancelled
CI / test-harness (push) Has been cancelled
CI / generate-e2e-matrix (push) Has been cancelled
CI / e2e (push) Has been cancelled
CI / build-ui (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
UI v2 Integration CI / E2E (Integration) (push) Has been cancelled
UI v2 CI / Lint, Format & Test (push) Has been cancelled
UI v2 CI / E2E (Mocked) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:37:56 +08:00

983 B

description
description
Annotation Processor — use code generation during Conductor builds with annotation-based processing for protobuf and more.

Annotation Processor

This module is strictly for code generation tasks during builds based on annotations. Currently supports protogen

Usage

This is an actual example of this module which is implemented in common/build.gradle

task protogen(dependsOn: jar, type: JavaExec) {
    classpath configurations.annotationsProcessorCodegen
    main = 'com.netflix.conductor.annotationsprocessor.protogen.ProtoGenTask'
    args(
            "conductor.proto",
            "com.netflix.conductor.proto",
            "github.com/netflix/conductor/client/gogrpc/conductor/model",
            "${rootDir}/grpc/src/main/proto",
            "${rootDir}/grpc/src/main/java/com/netflix/conductor/grpc",
            "com.netflix.conductor.grpc",
            jar.archivePath,
            "com.netflix.conductor.common",
    )
}