mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +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:
parent
de9791e0a9
commit
6f9ea7c23c
13 changed files with 1225 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue