From 85d8682bc0912d85a351326d2a7ee6e2515bbc53 Mon Sep 17 00:00:00 2001 From: Ian Baker Date: Fri, 17 Jun 2022 10:04:57 +0100 Subject: [PATCH] Add lint baseline for spurious API-level warnings The API 32 SDK has incorrect versioning metadata for Spatializer. It reports the whole class has only been present since API 33 (which is surely impossible given it's present in the API 32 SDK): https://issuetracker.google.com/234009300 The metadata seems to be correct in the API 33 SDK, so this baseline will no longer be needed when we bump to `compileSdkVersion = 33`. --- library/core/build.gradle | 4 ++ library/core/lint-baseline.xml | 125 +++++++++++++++++++++++++++++++++ 2 files changed, 129 insertions(+) create mode 100644 library/core/lint-baseline.xml diff --git a/library/core/build.gradle b/library/core/build.gradle index 5bf70ad151..71e48bac9f 100644 --- a/library/core/build.gradle +++ b/library/core/build.gradle @@ -28,6 +28,10 @@ android { } } + lint { + baseline = file("lint-baseline.xml") + } + sourceSets { androidTest.assets.srcDir '../../testdata/src/test/assets/' test.assets.srcDir '../../testdata/src/test/assets/' diff --git a/library/core/lint-baseline.xml b/library/core/lint-baseline.xml new file mode 100644 index 0000000000..39142d8cd2 --- /dev/null +++ b/library/core/lint-baseline.xml @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +