From abf90823710fc9ebeaa7f22d21d0fec9cccd8a18 Mon Sep 17 00:00:00 2001 From: Collin Jackson Date: Thu, 25 Jul 2019 13:53:37 -0700 Subject: [PATCH 1/2] Enable stack traces by default for the all_plugins example --- examples/all_plugins/android/app/build.gradle | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/examples/all_plugins/android/app/build.gradle b/examples/all_plugins/android/app/build.gradle index 013bfdcec927..f4100d3139bd 100644 --- a/examples/all_plugins/android/app/build.gradle +++ b/examples/all_plugins/android/app/build.gradle @@ -1,3 +1,5 @@ +gradle.startParameter.showStacktrace = org.gradle.api.logging.configuration.ShowStacktrace.ALWAYS + def localProperties = new Properties() def localPropertiesFile = rootProject.file('local.properties') if (localPropertiesFile.exists()) { @@ -35,10 +37,11 @@ android { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "io.plugins.all_plugins" minSdkVersion 16 + multiDexEnabled true targetSdkVersion 28 versionCode flutterVersionCode.toInteger() versionName flutterVersionName - testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" + testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } buildTypes { @@ -56,6 +59,7 @@ flutter { dependencies { testImplementation 'junit:junit:4.12' - androidTestImplementation 'com.android.support.test:runner:1.0.2' - androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' + androidTestImplementation 'androidx.test:runner:1.1.0' + androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0' + api 'androidx.exifinterface:exifinterface:1.0.0' } From 6ab55c3defa2540f16a6dd490355267f2346db04 Mon Sep 17 00:00:00 2001 From: Collin Jackson Date: Thu, 25 Jul 2019 13:54:54 -0700 Subject: [PATCH 2/2] Revert unrelated change --- examples/all_plugins/android/build.gradle | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/all_plugins/android/build.gradle b/examples/all_plugins/android/build.gradle index bb8a303898ca..95bbaca8b8a5 100644 --- a/examples/all_plugins/android/build.gradle +++ b/examples/all_plugins/android/build.gradle @@ -1,3 +1,5 @@ +gradle.startParameter.showStacktrace = org.gradle.api.logging.configuration.ShowStacktrace.ALWAYS + buildscript { repositories { google()