blob: e4ccc86ab2061b99fa5905a82b69ac8ed9bfa049 [file] [edit]
# 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: 1.0.1-wip
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: '>=3.35.6'
dependencies:
args: ^2.5.0
collection: ^1.19.1
ffi: ^2.1.3
jni_util: ^0.1.0
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.5.2
dart_style: ^3.1.2
ffigen:
path: ../ffigen
jnigen:
path: ../jnigen
logging: ^1.2.0
record_use:
path: ../record_use
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:
code_assets:
path: ../code_assets
ffigen:
path: ../ffigen
hooks:
path: ../hooks
jni_util:
path: ../jni_util
native_toolchain_c:
path: ../native_toolchain_c
record_use:
path: ../record_use