Skip to content

Support other source sets than 'main' and 'test' #493

@jjohannes

Description

@jjohannes

Problem

We would like to generate code for protobuf files in testFixtures.

https://github.com/hiero-ledger/hiero-consensus-node/tree/main/platform-sdk/consensus-otter-tests/src/testFixtures/proto

Solution

The plugin could offer a configuration option to configure a PbjCompilerTask task for an additional source set similar to how it is done for the main source set. Test sources are never generated in that case.

Alternatives

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions