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
Bump flutter_lints from 2.0.3 to 3.0.0 in /experimental/pedometer (#2061) Bumps [flutter_lints](https://github.com/flutter/packages/tree/main/packages) from 2.0.3 to 3.0.0. <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/flutter/packages/commit/3f8a5029fbb4f79f94ade1c937826b434f335469"><code>3f8a502</code></a> [pigeon] Remove support for non-NNBD (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1524">#1524</a>)</li> <li><a href="https://github.com/flutter/packages/commit/4eda7ad208d00283e1de2a65e3e803dfe9bd6d75"><code>4eda7ad</code></a> [pigeon] Fixes bug where Dart <code>FlutterApi</code>s would assert that a nullable argu...</li> <li><a href="https://github.com/flutter/packages/commit/dff39d7b48e098cff055f472d116e662b358f3c0"><code>dff39d7</code></a> [go_router]refactor runtime check to assert (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1362">#1362</a>)</li> <li><a href="https://github.com/flutter/packages/commit/5600590b500ea5be8fea94642439e9c3bc008767"><code>5600590</code></a> [go_router] Export inherited_go_router.dart file (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1145">#1145</a>)</li> <li><a href="https://github.com/flutter/packages/commit/d8bf76e582c3514e7c0533de3085e70bdd847bb8"><code>d8bf76e</code></a> [flutter_markdown] Remove build status from <code>README.md</code> (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1326">#1326</a>)</li> <li><a href="https://github.com/flutter/packages/commit/bc223c127202bce429901c1070247f7bb93abe9d"><code>bc223c1</code></a> Remove checked in binaries from flutter/packages. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1338">#1338</a>)</li> <li><a href="https://github.com/flutter/packages/commit/aff9cccafbe47913f1473e47b902585dc3079a8b"><code>aff9ccc</code></a> [rfw] Run tests for package:rfw on stable as well. (<a href="https://github.com/flutter/packages/tree/main/packages/issues/888">#888</a>)</li> <li><a href="https://github.com/flutter/packages/commit/84a2e796d7e5bbe8684cfaf4df0b0aeefab18042"><code>84a2e79</code></a> [Pigeon] Make the generated Java Builder class final (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1247">#1247</a>)</li> <li><a href="https://github.com/flutter/packages/commit/a9d6bf14ba011c8389dc2e8db713ae245a7c7293"><code>a9d6bf1</code></a> [go_router] improve coverage (<a href="https://github.com/flutter/packages/tree/main/packages/issues/977">#977</a>)</li> <li><a href="https://github.com/flutter/packages/commit/202fb329c970baf647547594cb3d18fa85fcdc68"><code>202fb32</code></a> [flutter_lints] version 2.0 (<a href="https://github.com/flutter/packages/tree/main/packages/issues/1165">#1165</a>)</li> <li>Additional commits viewable in <a href="https://github.com/flutter/packages/commits/pigeon-v3.0.0/packages">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=flutter_lints&package-manager=pub&previous-version=2.0.3&new-version=3.0.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`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <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> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brett Morgan <brettmorgan@google.com>
1 year ago
flutter_lints: ^3.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