I have a monorepo I'm porting over to Pants. One of the projects uses javapoet to generate sources which are consumed by other Java projects in the repo. Does anyone have any ideas / recommendations on how I can port this project over?
w
wide-midnight-78598
04/01/2025, 10:33 PM
At first guess, the fastest two ways I can think of are:
1) use one of the various adhoc tool/shell script commands to run JavaPoet and hook into that output somehow
2) Create a JavaPoet codegen plugin
d
dry-orange-3870
04/14/2025, 3:47 PM
I missed replying on this sooner, but thanks for the suggestions. I ended up not needing JavaPoet for my initial use case, but will need to revisit this later. I'll likely go the plugin route