You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
samples/experimental/pedometer/pubspec.yaml

78 lines
2.4 KiB

name: pedometer
description: A new Flutter FFI plugin project.
version: 0.0.1
publish_to: "none"
environment:
sdk: ^3.1.0
flutter: ">=2.11.0"
dependencies:
flutter:
sdk: flutter
plugin_platform_interface: ^2.0.2
Bump jni from 0.6.1 to 0.7.0 in /experimental/pedometer (#2015) Bumps [jni](https://github.com/dart-lang/jnigen) from 0.6.1 to 0.7.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/jnigen/releases">jni's releases</a>.</em></p> <blockquote> <h2>package:jni v0.7.0</h2> <ul> <li><strong>Breaking Change</strong> (<a href="https://redirect.github.com/dart-lang/jnigen/issues/387">#387</a>): Added <code>JBuffer</code> and <code>JByteBuffer</code> classes as default classes for <code>java.nio.Buffer</code> and <code>java.nio.ByteBuffer</code> respectively.</li> <li><strong>Breaking Change</strong>: Made the type classes <code>final</code>.</li> <li>Fixed a bug where <code>addAll</code>, <code>removeAll</code> and <code>retainAll</code> in <code>JSet</code> would run their respective operation twice.</li> <li>Fixed a bug where <code>JList.insertAll</code> would not throw the potentially thrown Java exception.</li> </ul> <h2>package:jnigen v0.7.0</h2> <ul> <li><strong>Breaking Change</strong> (<a href="https://redirect.github.com/dart-lang/jnigen/issues/387">#387</a>): Added <code>JBuffer</code> and <code>JByteBuffer</code> classes as default classes for <code>java.nio.Buffer</code> and <code>java.nio.ByteBuffer</code> respectively.</li> <li><strong>Breaking Change</strong>: Made the type classes <code>final</code>.</li> <li>Added <code>ignore_for_file: lines_longer_than_80_chars</code> to the generated file preamble.</li> <li>Added an explicit cast in generated <code>&lt;Interface&gt;.implement</code> code to allow <code>dart analyze</code> to pass when <code>strict-casts</code> is set.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/dart-lang/jnigen/commits/jni-v0.7.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jni&package-manager=pub&previous-version=0.6.1&new-version=0.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
1 year ago
jni: ^0.7.0
ffi: ^2.0.1
dev_dependencies:
ffigen: ^9.0.0
Bump jnigen from 0.6.0 to 0.7.0 in /experimental/pedometer (#2016) Bumps [jnigen](https://github.com/dart-lang/jnigen) from 0.6.0 to 0.7.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/jnigen/releases">jnigen's releases</a>.</em></p> <blockquote> <h2>package:jnigen v0.7.0</h2> <ul> <li><strong>Breaking Change</strong> (<a href="https://redirect.github.com/dart-lang/jnigen/issues/387">#387</a>): Added <code>JBuffer</code> and <code>JByteBuffer</code> classes as default classes for <code>java.nio.Buffer</code> and <code>java.nio.ByteBuffer</code> respectively.</li> <li><strong>Breaking Change</strong>: Made the type classes <code>final</code>.</li> <li>Added <code>ignore_for_file: lines_longer_than_80_chars</code> to the generated file preamble.</li> <li>Added an explicit cast in generated <code>&lt;Interface&gt;.implement</code> code to allow <code>dart analyze</code> to pass when <code>strict-casts</code> is set.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/dart-lang/jnigen/commit/4443cebdd31470c613e7ccd6e946b46aec5a57cf"><code>4443ceb</code></a> Add <code>JBuffer</code>, <code>JByteBuffer</code> to enable fast copying to and from <code>Uint8List</code> (...</li> <li><a href="https://github.com/dart-lang/jnigen/commit/7c837763be77d6e2471a3f5a23cc0178752328ed"><code>7c83776</code></a> Add <code>ignore_for_file: lines_longer_than_80_chars</code> to generated files (<a href="https://redirect.github.com/dart-lang/jnigen/issues/386">#386</a>)</li> <li><a href="https://github.com/dart-lang/jnigen/commit/49d4ac04a596a41c098d4bdec06151a4e69448b7"><code>49d4ac0</code></a> Add correct cast to interface method invocation (<a href="https://redirect.github.com/dart-lang/jnigen/issues/385">#385</a>)</li> <li><a href="https://github.com/dart-lang/jnigen/commit/b845ff16108e8d41054a3a637c7afd363e1ef9f6"><code>b845ff1</code></a> Specify JDK min and max version in README (<a href="https://redirect.github.com/dart-lang/jnigen/issues/384">#384</a>)</li> <li><a href="https://github.com/dart-lang/jnigen/commit/ef458e3b011ef0969ab427186a6c85b84b71a368"><code>ef458e3</code></a> jni-0.6.1 fix number of topics (<a href="https://redirect.github.com/dart-lang/jnigen/issues/382">#382</a>)</li> <li><a href="https://github.com/dart-lang/jnigen/commit/eba06738a4fad16c9f147e2f4eaf229c9f818415"><code>eba0673</code></a> Bump actions/checkout from 3.5.3 to 3.6.0 (<a href="https://redirect.github.com/dart-lang/jnigen/issues/381">#381</a>)</li> <li>See full diff in <a href="https://github.com/dart-lang/jnigen/compare/jnigen-v0.6.0...jnigen-v0.7.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jnigen&package-manager=pub&previous-version=0.6.0&new-version=0.7.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
1 year ago
jnigen: ^0.7.0
flutter_test:
sdk: flutter
flutter_lints: ^2.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.
#
# Please refer to README.md for a detailed explanation.
plugin:
platforms:
ios:
ffiPlugin: true
android:
ffiPlugin: true
# To add assets to your plugin package, add an assets section, like this:
# assets:
# - images/a_dot_burr.jpeg
# - images/a_dot_ham.jpeg
#
# For details regarding assets in packages, see
# https://flutter.dev/assets-and-images/#from-packages
#
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware
# To add custom fonts to your plugin package, add a fonts section here,
# in this "flutter" section. Each entry in this list should have a
# "family" key with the font family name, and a "fonts" key with a
# list giving the asset and other descriptors for the font. For
# example:
# fonts:
# - family: Schyler
# fonts:
# - asset: fonts/Schyler-Regular.ttf
# - asset: fonts/Schyler-Italic.ttf
# style: italic
# - family: Trajan Pro
# fonts:
# - asset: fonts/TrajanPro.ttf
# - asset: fonts/TrajanPro_Bold.ttf
# weight: 700
#
# For details regarding fonts in packages, see
# https://flutter.dev/custom-fonts/#from-packages