Skip to content

Commit f455714

Browse files
authored
Merge pull request #3 from phasetida/dev
phasetida_flutter 0.2.0 update
2 parents a05c346 + 381c8f7 commit f455714

263 files changed

Lines changed: 12248 additions & 433 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,11 @@
55
*.swp
66
.DS_Store
77
.atom/
8+
.build/
89
.buildlog/
910
.history
1011
.svn/
12+
.swiftpm/
1113
migrate_working_dir/
1214

1315
# IntelliJ related
@@ -28,4 +30,4 @@ migrate_working_dir/
2830
.dart_tool/
2931
.flutter-plugins-dependencies
3032
/build/
31-
/coverage/
33+
/coverage/

.metadata

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,39 @@
44
# This file should be version controlled and should not be manually edited.
55

66
version:
7-
revision: "f6ff1529fd6d8af5f706051d9251ac9231c83407"
7+
revision: "67323de285b00232883f53b84095eb72be97d35c"
88
channel: "stable"
99

10-
project_type: package
10+
project_type: plugin_ffi
11+
12+
# Tracks metadata for the flutter migrate command
13+
migration:
14+
platforms:
15+
- platform: root
16+
create_revision: 67323de285b00232883f53b84095eb72be97d35c
17+
base_revision: 67323de285b00232883f53b84095eb72be97d35c
18+
- platform: android
19+
create_revision: 67323de285b00232883f53b84095eb72be97d35c
20+
base_revision: 67323de285b00232883f53b84095eb72be97d35c
21+
- platform: ios
22+
create_revision: 67323de285b00232883f53b84095eb72be97d35c
23+
base_revision: 67323de285b00232883f53b84095eb72be97d35c
24+
- platform: linux
25+
create_revision: 67323de285b00232883f53b84095eb72be97d35c
26+
base_revision: 67323de285b00232883f53b84095eb72be97d35c
27+
- platform: macos
28+
create_revision: 67323de285b00232883f53b84095eb72be97d35c
29+
base_revision: 67323de285b00232883f53b84095eb72be97d35c
30+
- platform: windows
31+
create_revision: 67323de285b00232883f53b84095eb72be97d35c
32+
base_revision: 67323de285b00232883f53b84095eb72be97d35c
33+
34+
# User provided section
35+
36+
# List of Local paths (relative to this file) that should be
37+
# ignored by the migrate tool.
38+
#
39+
# Files that are not part of the templates will be ignored by default.
40+
unmanaged_files:
41+
- 'lib/main.dart'
42+
- 'ios/Runner.xcodeproj/project.pbxproj'

LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
TODO: Add your license here.

README.md

Lines changed: 5 additions & 5 deletions

android/.gitignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*.iml
2+
.gradle
3+
/local.properties
4+
/.idea/workspace.xml
5+
/.idea/libraries
6+
.DS_Store
7+
/build
8+
/captures
9+
.cxx

android/build.gradle

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
// The Android Gradle Plugin builds the native code with the Android NDK.
2+
3+
group 'com.flutter_rust_bridge.phasetida_flutter'
4+
version '1.0'
5+
6+
buildscript {
7+
repositories {
8+
google()
9+
mavenCentral()
10+
}
11+
12+
dependencies {
13+
// The Android Gradle Plugin knows how to build native code with the NDK.
14+
classpath 'com.android.tools.build:gradle:7.3.0'
15+
}
16+
}
17+
18+
rootProject.allprojects {
19+
repositories {
20+
google()
21+
mavenCentral()
22+
}
23+
}
24+
25+
apply plugin: 'com.android.library'
26+
27+
android {
28+
if (project.android.hasProperty("namespace")) {
29+
namespace 'com.flutter_rust_bridge.phasetida_flutter'
30+
}
31+
32+
// Bumping the plugin compileSdkVersion requires all clients of this plugin
33+
// to bump the version in their app.
34+
compileSdkVersion 33
35+
36+
// Use the NDK version
37+
// declared in /android/app/build.gradle file of the Flutter project.
38+
// Replace it with a version number if this plugin requires a specfic NDK version.
39+
// (e.g. ndkVersion "23.1.7779620")
40+
ndkVersion android.ndkVersion
41+
42+
compileOptions {
43+
sourceCompatibility JavaVersion.VERSION_1_8
44+
targetCompatibility JavaVersion.VERSION_1_8
45+
}
46+
47+
defaultConfig {
48+
minSdkVersion 19
49+
}
50+
}
51+
52+
apply from: "../cargokit/gradle/plugin.gradle"
53+
cargokit {
54+
manifestDir = "../rust"
55+
libname = "phasetida_flutter"
56+
}

android/settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rootProject.name = 'phasetida_flutter'
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2+
package="com.flutter_rust_bridge.phasetida_flutter">
3+
</manifest>
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)