mirror of
https://github.com/Tencent/MMKV.git
synced 2026-10-21 06:36:15 +08:00
47 lines
1.5 KiB
YAML
47 lines
1.5 KiB
YAML
name: mmkv_linux
|
|
description: Linux platform implementation of MMKV.
|
|
repository: https://github.com/Tencent/MMKV/tree/master/flutter/mmkv_linux
|
|
version: 2.4.3
|
|
homepage: https://github.com/Tencent/mmkv
|
|
|
|
environment:
|
|
sdk: '>=2.17.0 <4.0.0'
|
|
flutter: ">=3.0.0"
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
ffi: ^2.0.0
|
|
mmkv_platform_interface:
|
|
'>=2.4.0 <2.5.0'
|
|
# path: ../mmkv_platform_interface
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
flutter_lints: ^5.0.0
|
|
|
|
# For information on the generic Dart part of this file, see the
|
|
# following page: https://dart.dev/tools/pub/pubspec
|
|
|
|
# The following section is specific to Flutter packages.
|
|
flutter:
|
|
# This section identifies this Flutter project as a plugin project.
|
|
# The 'pluginClass' specifies the class (in Java, Kotlin, Swift, Objective-C, etc.)
|
|
# which should be registered in the plugin registry. This is required for
|
|
# using method channels.
|
|
# The Android 'package' specifies package in which the registered class is.
|
|
# This is required for using method channels on Android.
|
|
# The 'ffiPlugin' specifies that native code should be built and bundled.
|
|
# This is required for using `dart:ffi`.
|
|
# All these are used by the tooling to maintain consistency when
|
|
# adding or updating assets for this project.
|
|
plugin:
|
|
implements: mmkv
|
|
platforms:
|
|
linux:
|
|
# we don't really need a pluginClass for Linux,
|
|
# just to make the flutter build process happy.
|
|
pluginClass: MmkvLinuxPlugin
|
|
dartPluginClass: MMKVPlatformLinux
|
|
ffiPlugin: true |