Skip to content

Commit

Permalink
fix: fix issues so example runs on latest stable
Browse files Browse the repository at this point in the history
  • Loading branch information
mainawycliffe committed Dec 12, 2019
1 parent f7b99ba commit 87d8feb
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"_info":"// This is a generated file; do not edit or check into version control.","dependencyGraph":[{"name":"connectivity","dependencies":[]},{"name":"path_provider","dependencies":[]}]}
7 changes: 6 additions & 1 deletion packages/graphql_flutter/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apply plugin: 'com.android.application'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
compileSdkVersion 27
compileSdkVersion 28

lintOptions {
disable 'InvalidPackage'
Expand All @@ -38,6 +38,11 @@ android {
signingConfig signingConfigs.debug
}
}

// Temporary fix until alpha10
packagingOptions {
exclude 'META-INF/proguard/androidx-annotations.pro'
}
}

flutter {
Expand Down
2 changes: 2 additions & 0 deletions packages/graphql_flutter/example/android/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
org.gradle.jvmargs=-Xmx1536M
android.enableR8=true
android.enableJetifier=true
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
# This is a generated file; do not edit or check into version control.
export "FLUTTER_ROOT=/Users/mjr/flutter"
export "FLUTTER_APPLICATION_PATH=/Users/mjr/Documents/code/libraries/graphql-flutter/packages/graphql_flutter/example"
export "FLUTTER_TARGET=lib/main.dart"
export "FLUTTER_ROOT=C:\tools\flutter"
export "FLUTTER_APPLICATION_PATH=C:\Users\mw\projects\opensource\graphql-flutter\packages\graphql_flutter\example"
export "FLUTTER_TARGET=lib\main.dart"
export "FLUTTER_BUILD_DIR=build"
export "SYMROOT=${SOURCE_ROOT}/../build/ios"
export "FLUTTER_FRAMEWORK_DIR=/Users/mjr/flutter/bin/cache/artifacts/engine/ios"
export "SYMROOT=${SOURCE_ROOT}/../build\ios"
export "FLUTTER_FRAMEWORK_DIR=C:\tools\flutter\bin\cache\artifacts\engine\ios"
export "FLUTTER_BUILD_NAME=1.0.0"
export "FLUTTER_BUILD_NUMBER=1"
3 changes: 3 additions & 0 deletions packages/graphql_flutter/example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: app
description: A new Flutter project.

module:
androidX: true // Add this line.

dependencies:
flutter:
sdk: flutter
Expand Down

0 comments on commit 87d8feb

Please sign in to comment.