mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
Add Java reflection bindings to the distribution (#7851)
The distributions for C++ and Python include the generated reflection bindings but are currently missing from the other language packages. This will bring the Java package generated for releases closer to feature parity with the C++ and Python release artifacts.
This commit is contained in:
@@ -507,6 +507,12 @@ if not args.skip_gen_reflection:
|
||||
# Python Reflection
|
||||
flatc_reflection(["-p"], "python/flatbuffers", "reflection")
|
||||
|
||||
# Java Reflection
|
||||
flatc_reflection(
|
||||
["-j", "--java-package-prefix", "com.google.flatbuffers"],
|
||||
"java/src/main/java", "com/google/flatbuffers/reflection"
|
||||
)
|
||||
|
||||
# Annotation
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user