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 {
def agpVersion = "7.4.0"
def agpVersion = '7.4.2'
def kotlinVersion = "1.8.0"
repositories {
gradlePluginPortal()

View File

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

View File

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