FlatBuffers Prefab

Prefab version of FlatBuffers.

Лицензия

Лицензия

Категории

Категории

FlatBuffers Данные Data Formats Serialization
Группа

Группа

dev.rikka.ndk.thirdparty
Идентификатор

Идентификатор

flatbuffers
Последняя версия

Последняя версия

1.12.0
Дата

Дата

Тип

Тип

aar
Описание

Описание

FlatBuffers Prefab
Prefab version of FlatBuffers.
Ссылка на сайт

Ссылка на сайт

https://github.com/RikkaW/flatbuffers-prefab
Система контроля версий

Система контроля версий

https://github.com/RikkaW/flatbuffers-prefab

Скачать flatbuffers

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/flatbuffers/ -->
<dependency>
    <groupId>dev.rikka.ndk.thirdparty</groupId>
    <artifactId>flatbuffers</artifactId>
    <version>1.12.0</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/flatbuffers/
implementation 'dev.rikka.ndk.thirdparty:flatbuffers:1.12.0'
// https://jarcasting.com/artifacts/dev.rikka.ndk.thirdparty/flatbuffers/
implementation ("dev.rikka.ndk.thirdparty:flatbuffers:1.12.0")
'dev.rikka.ndk.thirdparty:flatbuffers:aar:1.12.0'
<dependency org="dev.rikka.ndk.thirdparty" name="flatbuffers" rev="1.12.0">
  <artifact name="flatbuffers" type="aar" />
</dependency>
@Grapes(
@Grab(group='dev.rikka.ndk.thirdparty', module='flatbuffers', version='1.12.0')
)
libraryDependencies += "dev.rikka.ndk.thirdparty" % "flatbuffers" % "1.12.0"
[dev.rikka.ndk.thirdparty/flatbuffers "1.12.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

FlatBuffers Prefab

Prefab package for FlatBuffers (https://github.com/google/flatbuffers).

Integration

This is a Prefab library, so you will need to enable it in your project (requires Android Gradle Plugin 4.1+):

gradle.properties:

# Header only package is not supported by the default version of prefab
# https://github.com/google/prefab/issues/122
android.prefabVersion=1.1.2
android {
    ...
    buildFeatures {
        ...
        prefab true
    }
}

Add dependency:

repositories {
    mavenCentral()
}

dependencies {
    implementation 'dev.rikka.ndk.thirdparty:flatbuffers:1.12.0'
}

Usage

ndk-build

LOCAL_STATIC_LIBRARIES := flatbuffers

# You can remove this block if you are using NDK r21+.
ifneq ($(call ndk-major-at-least,21),true)
    $(call import-add-path,$(NDK_GRADLE_INJECTED_IMPORT_PATH))
endif

$(call import-module,prefab/flatbuffers)

CMake

find_package(flatbuffers REQUIRED CONFIG)
target_link_libraries(<your lib> flatbuffers::flatbuffers)

Версии библиотеки

Версия
1.12.0