aboutsummaryrefslogtreecommitdiff
path: root/palette
diff options
context:
space:
mode:
authorLouis Pullen-Freilich <lpf@google.com>2019-06-13 19:51:30 +0100
committerLouis Pullen-Freilich <lpf@google.com>2019-06-13 23:37:31 +0100
commit1b57674a04707e1adc076536377f967f62d2b68b (patch)
tree5cc45e8af40f2123a680905509e87759caf36c48 /palette
parentc9180cce06bc6461ddbf3e8f66ffd35dfd5ffedd (diff)
downloadsupport-1b57674a04707e1adc076536377f967f62d2b68b.tar.gz
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
Diffstat (limited to 'palette')
-rw-r--r--palette/palette/build.gradle6
1 files changed, 0 insertions, 6 deletions
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")