From b4ffff9a7824dff313b39c1f591d75e4992e8b5c Mon Sep 17 00:00:00 2001 From: Carter Jernigan Date: Thu, 24 Nov 2022 08:54:41 -0500 Subject: [PATCH] [#791] Flank 22.10.0 * [#791] Flank 22.10.0 This should resolve issues with `flankAuth` task * Update documentation Co-authored-by: Honza --- docs/Setup.md | 4 +++- gradle.properties | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/Setup.md b/docs/Setup.md index e3e2a590..12f4a713 100644 --- a/docs/Setup.md +++ b/docs/Setup.md @@ -121,7 +121,9 @@ For Continuous Integration, see [CI.md](CI.md). The rest of this section is reg 1. If you are an Electric Coin Co team member: Make an IT request to add your Google account to the existing Firebase Test Lab project 1. If you are an open source contributor: set up your own Firebase project for the purpose of running Firebase Test Lab 1. Set the Firebase Google Cloud project name as a global Gradle property `ZCASH_FIREBASE_TEST_LAB_PROJECT` under `~/.gradle/gradle.properties` -1. Run the Gradle task `flankAuth` to generate a Firebase authentication token on your machine +1. Run the Gradle task `flankAuth` to generate a Firebase authentication token on your machine. Make sure you have Editor role, at + least in the Firebase project, to be able to authenticate successfully. Note that Gradle + may report the task failed yet still successfully store the token. Tests can now be run on Firebase Test Lab from your local machine. diff --git a/gradle.properties b/gradle.properties index a3e94ded..99142e7e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -37,6 +37,7 @@ IS_USE_TEST_ORCHESTRATOR=false # Either provide a path to a Firebase Test Lab service key (best for CI) # OR # login with `./gradlew flankAuth` and provide the project name (best for local development) +# Note: make sure you have Editor role, at least in the Firebase project, to be able to authenticate successfully. ZCASH_FIREBASE_TEST_LAB_API_KEY_PATH= ZCASH_FIREBASE_TEST_LAB_PROJECT= @@ -75,7 +76,7 @@ ANDROID_GRADLE_PLUGIN_VERSION=7.3.0 DETEKT_VERSION=1.21.0 DOKKA_VERSION=1.7.10 EMULATOR_WTF_GRADLE_PLUGIN_VERSION=0.0.10 -FLANK_VERSION=22.03.0 +FLANK_VERSION=22.10.0 FULLADLE_VERSION=0.17.4 GRADLE_VERSIONS_PLUGIN_VERSION=0.42.0 KTLINT_VERSION=0.47.1