From 1b57674a04707e1adc076536377f967f62d2b68b Mon Sep 17 00:00:00 2001 From: Louis Pullen-Freilich Date: Thu, 13 Jun 2019 19:51:30 +0100 Subject: Enables UnknownNullness lint check Adds all existing UnknownNullness warnings to lint-baseline.xml Using the flag -PcheckUnknownNullness checks only UnknownNullness errors without using the baseline, so it is easy to see what the errors are. Also enables UnknownNullness and other kotlin interop inspections in Studio, to make it easier to notice and fix these. Bug: b/132358934 Test: ./gradlew lintDebug Change-Id: I7e6ea1a2e3a1b32b9de02b037e06ce8515ff1ad0 --- palette/palette/build.gradle | 6 ------ 1 file changed, 6 deletions(-) (limited to 'palette') diff --git a/palette/palette/build.gradle b/palette/palette/build.gradle index 49f73dff173..1a785dbdc35 100644 --- a/palette/palette/build.gradle +++ b/palette/palette/build.gradle @@ -8,12 +8,6 @@ plugins { id("com.android.library") } -android { - lintOptions { - fatal("UnknownNullness") - } -} - dependencies { api("androidx.core:core:1.1.0-rc01") implementation("androidx.collection:collection:1.1.0") -- cgit v1.2.3