From 6872a488ded562adcdee97c11c3cabbf048f01dd Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 8 Oct 2020 13:04:55 +0200 Subject: [PATCH] Fix the latest lint issue (will modify the pipeline to let the test compilation pass --- build.gradle | 3 ++- vector/src/main/AndroidManifest.xml | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index bd2f18d41b..e68d545c91 100644 --- a/build.gradle +++ b/build.gradle @@ -64,7 +64,8 @@ allprojects { tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all { // Warnings are potential errors, so stop ignoring them - kotlinOptions.allWarningsAsErrors = true + // You can override by passing `-PallWarningsAsErrors=false` in the command line + kotlinOptions.allWarningsAsErrors = project.properties['allWarningsAsErrors']?.toBoolean() ?: true } } diff --git a/vector/src/main/AndroidManifest.xml b/vector/src/main/AndroidManifest.xml index 3f7ff8c808..3f178a3d20 100644 --- a/vector/src/main/AndroidManifest.xml +++ b/vector/src/main/AndroidManifest.xml @@ -232,9 +232,11 @@ + + android:exported="false" + tools:ignore="Instantiatable" />