Enables Kotlin interop lint checks
Doesn't enable UnknownNullness, this will be enabled separately as
we want to fix existing usages, and not just whitelist them.
Also re-generates some existing baselines that were out of date
Bug: b/134927060
Test: ./gradlew lintDebug
Change-Id: Iec561b8ce61fcf22d3f2c3bec6e90b121801fcce
diff --git a/testutils/lint-baseline.xml b/testutils/lint-baseline.xml
new file mode 100644
index 0000000..5f55d37
--- /dev/null
+++ b/testutils/lint-baseline.xml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2019 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+
+<issues format="5" by="lint 3.5.0-beta04" client="gradle" variant="debug" version="3.5.0-beta04">
+
+ <issue
+ id="LambdaLast"
+ message="Functional interface parameters (such as parameter 1, "owner", in androidx.testutils.LifecycleOwnerUtils.waitUntilState) should be last to improve Kotlin interoperability; see https://kotlinlang.org/docs/reference/java-interop.html#sam-conversions"
+ errorLine1=" final Lifecycle.State state) throws Throwable {"
+ errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
+ <location
+ file="src/main/java/androidx/testutils/LifecycleOwnerUtils.java"
+ line="65"
+ column="13"/>
+ </issue>
+
+</issues>