build: update to gradle 7.4.2 and restructure lint block

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
Jason A. Donenfeld 2023-03-21 15:30:38 +01:00
parent 560d9cf967
commit a386e3a3d2
3 changed files with 6 additions and 8 deletions

View File

@ -1,5 +1,5 @@
pluginManagement { pluginManagement {
def agpVersion = "7.4.0" def agpVersion = '7.4.2'
def kotlinVersion = "1.8.0" def kotlinVersion = "1.8.0"
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()

View File

@ -45,9 +45,8 @@ android {
} }
} }
} }
lintOptions { lint {
disable('LongLogTag') disable 'LongLogTag', 'NewApi'
disable('NewApi') // Desugaring!
} }
} }

View File

@ -56,10 +56,9 @@ android {
versionNameSuffix "-debug" versionNameSuffix "-debug"
} }
} }
lintOptions { lint {
disable('LongLogTag') disable 'LongLogTag'
warning('MissingTranslation') warning 'MissingTranslation', 'ImpliedQuantity'
warning('ImpliedQuantity')
} }
} }