-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpubspec.yaml
54 lines (48 loc) · 1.69 KB
/
pubspec.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: go_git_dart
description: "Bindings for go-git"
version: 0.0.1
environment:
sdk: ">=3.2.0 <4.0.0"
flutter: ">=3.3.0"
dependencies:
ffi: ^2.0.2
flutter:
sdk: flutter
plugin_platform_interface: ^2.0.2
dev_dependencies:
ffigen: ^9.0.0
flutter_test:
sdk: flutter
flutter_lints: ^2.0.0
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:
android:
package: io.gitjournal.go_git_dart
pluginClass: GoGitDartFlutterLibsPlugin
# This FFI plugin project was generated without specifying any
# platforms with the `--platform` argument. If you see the `some_platform` map below, remove it and
# then add platforms following the instruction here:
# https://flutter.dev/docs/development/packages-and-plugins/developing-packages#plugin-platforms
# -------------------
# some_platform:
# ffiPlugin: true
# -------------------
ffigen:
name: GoGitDartBindings
output: 'lib/go_git_dart_bindings_generated.dart'
headers:
entry-points:
- "src/gitjournal.h"