Skip to content
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

gradle-flatbuffers-plugin is not supporting 1.11.0 flatbuffers version, supporting default 1.10.0 as per readme #14

Open
yashwanth522 opened this issue Nov 23, 2021 · 0 comments

Comments

@yashwanth522
Copy link

yashwanth522 commented Nov 23, 2021

Describe the bug
gradle-flatbuffers-plugin is not supporting 1.11.0 flatbuffers version defaults to 1.10.0 as per readme

To Reproduce
Steps to reproduce the behavior:
use gradle-flatbuffers-plugin of version 1.0.7
use flatbuffers-java of version 1.11.0
Try to compile the flatbuffers schema and observe the below error,

Error
_error: cannot find symbol
public void __init(int _i, ByteBuffer _bb) { bb_pos = _i; bb = bb; vtable_start = bb_pos - bb.getInt(bb_pos); vtable_size = bb.getShort(vtable_start); }
^
symbol: variable vtable_start
location: class HelloWorld

Expected behavior
gradle-flatbuffers-plugin should be supporting any flatbuffers version and code should be compiled successfully
OR
There should be an option to override the default flatbuffer version of gradle-flatbuffers-plugin supports

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant