From 29c0a069107f42145e14d77573c2b19ed0ab402a Mon Sep 17 00:00:00 2001 From: Dali Boss Date: Mon, 5 Jun 2023 19:11:29 +0200 Subject: [PATCH] Update build.gradle the check method in android.lintOptions is obsolete and will be removed in version 8.0 of the Android Gradle plugin. It has been replaced with the checkOnly method. The checkOnly method turns off all other checks except for those explicitly listed. --- build.gradle | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.gradle b/build.gradle index d0c557d..ddd03ff 100644 --- a/build.gradle +++ b/build.gradle @@ -71,7 +71,7 @@ android { disable "UnusedResources", 'RestrictedApi' disable 'TypographyFractions', 'TypographyQuotes' enable 'RtlHardcoded', 'RtlCompat', 'RtlEnabled' - check 'NewApi', 'InlinedApi' + checkOnly 'NewApi', 'InlinedApi' } } @@ -80,4 +80,4 @@ tasks.withType(Javadoc) { options.addStringOption('encoding', 'UTF-8') options.addStringOption('charSet', 'UTF-8') options.encoding = "UTF-8" -} \ No newline at end of file +}