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:
Chuck Atkins 2023-03-03 14:14:07 -05:00 committed by GitHub
parent de9791e0a9
commit 6f9ea7c23c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 1225 additions and 0 deletions

View file

@ -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