-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Any chance this works with Bazel? #103
Comments
I think image generation should work fine when the annotation processor is added as |
Thank you! I am currently trying to get image generation working myself - not sure which processor should be set as the processor_class in the java_plugin though |
I have it working with
and then running Obviously this means they would be included in the binary so I wouldn't run the production build with the scabbard plugin. Don't know enough bazel or scabbard to say if there's an alternate solution. Since we're using rules_jvm_external, this also required using com.github.kittinunf.result 3.0.1 in |
Thanks @theindexer I am looking towards an official way to support this possibly with first party bazel rules. Experimented with a aspect here https://github.com/arunkumar9t2/bazel-playground/blob/main/tools/generated_sources_collector/generated_sources_collector.bzl that merges source jar for all transitive dependencies unzippping which will give you all the images. I will continue investigating how IDE can use this information. |
Hoping to try this out in bazel - has anyone tried this before?
The text was updated successfully, but these errors were encountered: