From af6e4b99a757c58404b5b4b3adc94ffeb784199d Mon Sep 17 00:00:00 2001
From: xAlpharax <42233094+xAlpharax@users.noreply.github.com>
Date: Wed, 20 Sep 2023 03:48:13 +0300
Subject: Initial full migration of the project.
Changes to be committed:
new file: .gitignore
new file: .metadata
new file: README.md
new file: analysis_options.yaml
new file: android/.gitignore
new file: android/app/build.gradle
new file: android/app/src/debug/AndroidManifest.xml
new file: android/app/src/main/AndroidManifest.xml
new file: android/app/src/main/kotlin/com/example/ocr/MainActivity.kt
new file: android/app/src/main/res/drawable-hdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-mdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-v21/launch_background.xml
new file: android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png
new file: android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
new file: android/app/src/main/res/drawable/launch_background.xml
new file: android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file: android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file: android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file: android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file: android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file: android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file: android/app/src/main/res/values-night/styles.xml
new file: android/app/src/main/res/values/colors.xml
new file: android/app/src/main/res/values/styles.xml
new file: android/app/src/profile/AndroidManifest.xml
new file: android/build.gradle
new file: android/gradle.properties
new file: android/gradle/wrapper/gradle-wrapper.properties
new file: android/settings.gradle
new file: assets/MegaViewLogo.png
new file: ios/.gitignore
new file: ios/Flutter/AppFrameworkInfo.plist
new file: ios/Flutter/Debug.xcconfig
new file: ios/Flutter/Release.xcconfig
new file: ios/Podfile
new file: ios/Podfile.lock
new file: ios/Runner.xcodeproj/project.pbxproj
new file: ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file: ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file: ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file: ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file: ios/Runner.xcworkspace/contents.xcworkspacedata
new file: ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file: ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file: ios/Runner/AppDelegate.swift
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-50x50@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-57x57@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-72x72@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file: ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file: ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file: ios/Runner/Base.lproj/LaunchScreen.storyboard
new file: ios/Runner/Base.lproj/Main.storyboard
new file: ios/Runner/Info.plist
new file: ios/Runner/Runner-Bridging-Header.h
new file: ios/RunnerTests/RunnerTests.swift
new file: lib/main.dart
new file: lib/result_screen.dart
new file: pubspec.lock
new file: pubspec.yaml
new file: test/widget_test.dart
---
android/.gitignore | 13 ++++
android/app/build.gradle | 67 +++++++++++++++++++++
android/app/src/debug/AndroidManifest.xml | 7 +++
android/app/src/main/AndroidManifest.xml | 38 ++++++++++++
.../main/kotlin/com/example/ocr/MainActivity.kt | 6 ++
.../res/drawable-hdpi/ic_launcher_background.png | Bin 0 -> 1122 bytes
.../res/drawable-hdpi/ic_launcher_foreground.png | Bin 0 -> 1122 bytes
.../res/drawable-mdpi/ic_launcher_background.png | Bin 0 -> 673 bytes
.../res/drawable-mdpi/ic_launcher_foreground.png | Bin 0 -> 673 bytes
.../main/res/drawable-v21/launch_background.xml | 12 ++++
.../res/drawable-xhdpi/ic_launcher_background.png | Bin 0 -> 1636 bytes
.../res/drawable-xhdpi/ic_launcher_foreground.png | Bin 0 -> 1636 bytes
.../res/drawable-xxhdpi/ic_launcher_background.png | Bin 0 -> 2915 bytes
.../res/drawable-xxhdpi/ic_launcher_foreground.png | Bin 0 -> 2915 bytes
.../drawable-xxxhdpi/ic_launcher_background.png | Bin 0 -> 4362 bytes
.../drawable-xxxhdpi/ic_launcher_foreground.png | Bin 0 -> 4362 bytes
.../src/main/res/drawable/launch_background.xml | 12 ++++
.../src/main/res/mipmap-anydpi-v26/ic_launcher.xml | 5 ++
.../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 445 bytes
.../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 322 bytes
.../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 604 bytes
.../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 973 bytes
.../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 1416 bytes
android/app/src/main/res/values-night/styles.xml | 18 ++++++
android/app/src/main/res/values/colors.xml | 4 ++
android/app/src/main/res/values/styles.xml | 18 ++++++
android/app/src/profile/AndroidManifest.xml | 7 +++
android/build.gradle | 31 ++++++++++
android/gradle.properties | 3 +
android/gradle/wrapper/gradle-wrapper.properties | 5 ++
android/settings.gradle | 20 ++++++
31 files changed, 266 insertions(+)
create mode 100644 android/.gitignore
create mode 100644 android/app/build.gradle
create mode 100644 android/app/src/debug/AndroidManifest.xml
create mode 100644 android/app/src/main/AndroidManifest.xml
create mode 100644 android/app/src/main/kotlin/com/example/ocr/MainActivity.kt
create mode 100644 android/app/src/main/res/drawable-hdpi/ic_launcher_background.png
create mode 100644 android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
create mode 100644 android/app/src/main/res/drawable-mdpi/ic_launcher_background.png
create mode 100644 android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
create mode 100644 android/app/src/main/res/drawable-v21/launch_background.xml
create mode 100644 android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png
create mode 100644 android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
create mode 100644 android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png
create mode 100644 android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
create mode 100644 android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png
create mode 100644 android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
create mode 100644 android/app/src/main/res/drawable/launch_background.xml
create mode 100644 android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
create mode 100644 android/app/src/main/res/mipmap-hdpi/ic_launcher.png
create mode 100644 android/app/src/main/res/mipmap-mdpi/ic_launcher.png
create mode 100644 android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
create mode 100644 android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
create mode 100644 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
create mode 100644 android/app/src/main/res/values-night/styles.xml
create mode 100644 android/app/src/main/res/values/colors.xml
create mode 100644 android/app/src/main/res/values/styles.xml
create mode 100644 android/app/src/profile/AndroidManifest.xml
create mode 100644 android/build.gradle
create mode 100644 android/gradle.properties
create mode 100644 android/gradle/wrapper/gradle-wrapper.properties
create mode 100644 android/settings.gradle
(limited to 'android')
diff --git a/android/.gitignore b/android/.gitignore
new file mode 100644
index 0000000..6f56801
--- /dev/null
+++ b/android/.gitignore
@@ -0,0 +1,13 @@
+gradle-wrapper.jar
+/.gradle
+/captures/
+/gradlew
+/gradlew.bat
+/local.properties
+GeneratedPluginRegistrant.java
+
+# Remember to never publicly share your keystore.
+# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
+key.properties
+**/*.keystore
+**/*.jks
diff --git a/android/app/build.gradle b/android/app/build.gradle
new file mode 100644
index 0000000..4c6240d
--- /dev/null
+++ b/android/app/build.gradle
@@ -0,0 +1,67 @@
+plugins {
+ id "com.android.application"
+ id "kotlin-android"
+ id "dev.flutter.flutter-gradle-plugin"
+}
+
+def localProperties = new Properties()
+def localPropertiesFile = rootProject.file('local.properties')
+if (localPropertiesFile.exists()) {
+ localPropertiesFile.withReader('UTF-8') { reader ->
+ localProperties.load(reader)
+ }
+}
+
+def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
+if (flutterVersionCode == null) {
+ flutterVersionCode = '1'
+}
+
+def flutterVersionName = localProperties.getProperty('flutter.versionName')
+if (flutterVersionName == null) {
+ flutterVersionName = '1.0'
+}
+
+android {
+ namespace "com.example.ocr"
+ compileSdkVersion 33
+ ndkVersion flutter.ndkVersion
+
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_1_8
+ targetCompatibility JavaVersion.VERSION_1_8
+ }
+
+ kotlinOptions {
+ jvmTarget = '1.8'
+ }
+
+ sourceSets {
+ main.java.srcDirs += 'src/main/kotlin'
+ }
+
+ defaultConfig {
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
+ applicationId "com.example.ocr"
+ // You can update the following values to match your application needs.
+ // For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
+ minSdkVersion 22
+ targetSdkVersion 33
+ versionCode flutterVersionCode.toInteger()
+ versionName flutterVersionName
+ }
+
+ buildTypes {
+ release {
+ // TODO: Add your own signing config for the release build.
+ // Signing with the debug keys for now, so `flutter run --release` works.
+ signingConfig signingConfigs.debug
+ }
+ }
+}
+
+flutter {
+ source '../..'
+}
+
+dependencies {}
diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml
new file mode 100644
index 0000000..399f698
--- /dev/null
+++ b/android/app/src/debug/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..47bf738
--- /dev/null
+++ b/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/android/app/src/main/kotlin/com/example/ocr/MainActivity.kt b/android/app/src/main/kotlin/com/example/ocr/MainActivity.kt
new file mode 100644
index 0000000..2a5cdc7
--- /dev/null
+++ b/android/app/src/main/kotlin/com/example/ocr/MainActivity.kt
@@ -0,0 +1,6 @@
+package com.example.ocr
+
+import io.flutter.embedding.android.FlutterActivity
+
+class MainActivity: FlutterActivity() {
+}
diff --git a/android/app/src/main/res/drawable-hdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-hdpi/ic_launcher_background.png
new file mode 100644
index 0000000..e127458
Binary files /dev/null and b/android/app/src/main/res/drawable-hdpi/ic_launcher_background.png differ
diff --git a/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..e127458
Binary files /dev/null and b/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-mdpi/ic_launcher_background.png
new file mode 100644
index 0000000..4f53b51
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/ic_launcher_background.png differ
diff --git a/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..4f53b51
Binary files /dev/null and b/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml
new file mode 100644
index 0000000..f74085f
--- /dev/null
+++ b/android/app/src/main/res/drawable-v21/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png
new file mode 100644
index 0000000..335a110
Binary files /dev/null and b/android/app/src/main/res/drawable-xhdpi/ic_launcher_background.png differ
diff --git a/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..335a110
Binary files /dev/null and b/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png
new file mode 100644
index 0000000..a255ceb
Binary files /dev/null and b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_background.png differ
diff --git a/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..a255ceb
Binary files /dev/null and b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png
new file mode 100644
index 0000000..eaf610c
Binary files /dev/null and b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_background.png differ
diff --git a/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
new file mode 100644
index 0000000..eaf610c
Binary files /dev/null and b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml
new file mode 100644
index 0000000..304732f
--- /dev/null
+++ b/android/app/src/main/res/drawable/launch_background.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
+
+
diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..5f349f7
--- /dev/null
+++ b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 0000000..60dc7d8
Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 0000000..519150a
Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 0000000..5077421
Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 0000000..8f62be2
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 0000000..d11eb7f
Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml
new file mode 100644
index 0000000..06952be
--- /dev/null
+++ b/android/app/src/main/res/values-night/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml
new file mode 100644
index 0000000..beab31f
--- /dev/null
+++ b/android/app/src/main/res/values/colors.xml
@@ -0,0 +1,4 @@
+
+
+ #000000
+
\ No newline at end of file
diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml
new file mode 100644
index 0000000..cb1ef88
--- /dev/null
+++ b/android/app/src/main/res/values/styles.xml
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml
new file mode 100644
index 0000000..399f698
--- /dev/null
+++ b/android/app/src/profile/AndroidManifest.xml
@@ -0,0 +1,7 @@
+
+
+
+
diff --git a/android/build.gradle b/android/build.gradle
new file mode 100644
index 0000000..baa7dd2
--- /dev/null
+++ b/android/build.gradle
@@ -0,0 +1,31 @@
+buildscript {
+ ext.kotlin_version = '1.8.0'
+ repositories {
+ google()
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:7.3.1'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+rootProject.buildDir = '../build'
+subprojects {
+ project.buildDir = "${rootProject.buildDir}/${project.name}"
+}
+subprojects {
+ project.evaluationDependsOn(':app')
+}
+
+tasks.register("clean", Delete) {
+ delete rootProject.buildDir
+}
diff --git a/android/gradle.properties b/android/gradle.properties
new file mode 100644
index 0000000..94adc3a
--- /dev/null
+++ b/android/gradle.properties
@@ -0,0 +1,3 @@
+org.gradle.jvmargs=-Xmx1536M
+android.useAndroidX=true
+android.enableJetifier=true
diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties
new file mode 100644
index 0000000..3c472b9
--- /dev/null
+++ b/android/gradle/wrapper/gradle-wrapper.properties
@@ -0,0 +1,5 @@
+distributionBase=GRADLE_USER_HOME
+distributionPath=wrapper/dists
+zipStoreBase=GRADLE_USER_HOME
+zipStorePath=wrapper/dists
+distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-all.zip
diff --git a/android/settings.gradle b/android/settings.gradle
new file mode 100644
index 0000000..55c4ca8
--- /dev/null
+++ b/android/settings.gradle
@@ -0,0 +1,20 @@
+pluginManagement {
+ def flutterSdkPath = {
+ def properties = new Properties()
+ file("local.properties").withInputStream { properties.load(it) }
+ def flutterSdkPath = properties.getProperty("flutter.sdk")
+ assert flutterSdkPath != null, "flutter.sdk not set in local.properties"
+ return flutterSdkPath
+ }
+ settings.ext.flutterSdkPath = flutterSdkPath()
+
+ includeBuild("${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle")
+
+ plugins {
+ id "dev.flutter.flutter-gradle-plugin" version "1.0.0" apply false
+ }
+}
+
+include ":app"
+
+apply from: "${settings.ext.flutterSdkPath}/packages/flutter_tools/gradle/app_plugin_loader.gradle"
--
cgit v1.2.3