From 23f29e5a560fb5026928a7a2aa4099646405d0de Mon Sep 17 00:00:00 2001 From: Ralf Kistner Date: Mon, 25 Oct 2021 15:41:21 +0200 Subject: [PATCH] Ignore lint error. --- sample/build.gradle | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sample/build.gradle b/sample/build.gradle index a7bcfbdd..329db202 100644 --- a/sample/build.gradle +++ b/sample/build.gradle @@ -51,11 +51,19 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' } } + compileOptions { coreLibraryDesugaringEnabled true sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } + + lintOptions { + // Error: The lint detector + // androidx.appcompat.view.OnClickXmlDetector + // called context.getMainProject() during module analysis. + disable 'UsingOnClickInXml' + } }