flutter sdk 1.12.13

This commit is contained in:
weilu 2019-12-20 15:18:16 +08:00
parent 7229aeb7b5
commit d806560cd5
7 changed files with 27 additions and 8 deletions

View File

@ -8,7 +8,7 @@ buildscript {
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.3.1' classpath 'com.android.tools.build:gradle:3.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.41" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.41"
} }
} }
@ -44,5 +44,5 @@ android {
dependencies { dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.41' implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.41'
implementation 'me.dm7.barcodescanner:zxing:1.9.13' implementation 'me.dm7.barcodescanner:zxing:1.9.13'
implementation 'androidx.core:core:1.0.0' implementation 'androidx.core:core:1.0.2'
} }

1
example/.gitignore vendored
View File

@ -8,3 +8,4 @@ ios/.generated/
packages packages
pubspec.lock pubspec.lock
.flutter-plugins .flutter-plugins
.flutter-plugins-dependencies

View File

@ -1,12 +1,12 @@
buildscript { buildscript {
ext.kotlin_version = '1.3.20' ext.kotlin_version = '1.3.41'
repositories { repositories {
google() google()
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.3.1' classpath 'com.android.tools.build:gradle:3.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
} }
} }

View File

@ -1 +1,4 @@
org.gradle.jvmargs=-Xmx1536M org.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.enableJetifier=true
android.useAndroidX=true

View File

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.2-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip

View File

@ -0,0 +1,10 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=E:\flutter"
export "FLUTTER_APPLICATION_PATH=D:\flutter\flutter_barcode_reader\example"
export "FLUTTER_TARGET=lib\main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build\ios"
export "FLUTTER_FRAMEWORK_DIR=E:\flutter\bin\cache\artifacts\engine\ios"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"

View File

@ -10,6 +10,7 @@ dependencies:
environment: environment:
sdk: ">=2.0.0-dev.58.0 <3.0.0" sdk: ">=2.0.0-dev.58.0 <3.0.0"
flutter: ">=1.10.0 <2.0.0"
# For information on the generic Dart part of this file, see the # For information on the generic Dart part of this file, see the
# following page: https://www.dartlang.org/tools/pub/pubspec # following page: https://www.dartlang.org/tools/pub/pubspec
@ -17,8 +18,12 @@ environment:
# The following section is specific to Flutter. # The following section is specific to Flutter.
flutter: flutter:
plugin: plugin:
androidPackage: com.apptreesoftware.barcodescan platforms:
pluginClass: BarcodeScanPlugin android:
package: com.apptreesoftware.barcodescan
pluginClass: BarcodeScanPlugin
ios:
pluginClass: BarcodeScanPlugin
# To add assets to your plugin package, add an assets section, like this: # To add assets to your plugin package, add an assets section, like this:
# assets: # assets: