blob: a7a40e8a2172451e05c86ae52a0066fc836d4921 [file]
# Copyright (c) 2022, the Dart project authors. Please see the AUTHORS file
# for details. All rights reserved. Use of this source code is governed by a
# BSD-style license that can be found in the LICENSE file.
name: jni
description: A library to access JNI from Dart and Flutter that acts as a support library for package:jnigen.
version: 0.14.2
repository: https://github.com/dart-lang/native/tree/main/pkgs/jni
issue_tracker: https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajni
topics:
- interop
- ffi
- java
- kotlin
- jni
environment:
sdk: ">=3.3.0 <4.0.0"
flutter: ">=2.11.0"
dependencies:
args: ^2.5.0
ffi: ^2.1.3
meta: ^1.15.0
package_config: ^2.1.0
path: ^1.9.0
plugin_platform_interface: ^2.1.8
dev_dependencies:
dart_flutter_team_lints: ^3.2.0
## Pin ffigen version because we are depending on internal APIs.
ffigen: 16.1.0
logging: ^1.2.0
test: ^1.25.8
# The following section is specific to Flutter packages.
flutter:
plugin:
platforms:
linux:
ffiPlugin: true
windows:
ffiPlugin: true
android:
ffiPlugin: true
package: com.github.dart_lang.jni
pluginClass: JniPlugin
dependency_overrides:
ffigen:
path: ../ffigen