aboutsummaryrefslogtreecommitdiff
path: root/app/build.gradle
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-07-02 13:49:32 +0200
committerGitHub <noreply@github.com>2020-07-02 13:49:32 +0200
commitca9c951a536e9ccd2bf3e8f0e2e0a48992d0d655 (patch)
treebcf32f9bf6178051632baed95d5c70d8355f8e29 /app/build.gradle
parentc702d4aa9ea09ae27e613d85440a207b37995e86 (diff)
Fill OTP fields with SMS codes (#900)
* Fill OTP fields with SMS codes * Allow SMS OTP fill also for web origins * Introduce free and nonFree build variants * Fix up workflow * Improve layout and feature detection * Workflow changes * Add Changelog entry * github: update release workflow for nonFree/Free split Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Switch to lifecycleScope * github: make snapshot deploy free variant Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> Co-authored-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'app/build.gradle')
-rw-r--r--app/build.gradle11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/build.gradle b/app/build.gradle
index 4489c0ba..399402cb 100644
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -68,6 +68,15 @@ android {
buildTypes.release.signingConfig = signingConfigs.release
buildTypes.debug.signingConfig = signingConfigs.release
}
+
+ flavorDimensions "free"
+ productFlavors {
+ free {
+ versionNameSuffix "-free"
+ }
+ nonFree {
+ }
+ }
}
dependencies {
@@ -117,6 +126,8 @@ dependencies {
debugImplementation deps.third_party.whatthestack
}
+ nonFreeImplementation deps.non_free.google_play_auth_api_phone
+
// Testing-only dependencies
androidTestImplementation deps.testing.junit
androidTestImplementation deps.testing.kotlin_test_junit