gregwhitaker / gradle-flatbuffers-plugin

Gradle plugin for generating code from Google FlatBuffers schemas

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

yashwanth522 opened this issue · comments

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