Skip to content

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

@YashBotz

Description

@YashBotz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions