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:
parent
560d9cf967
commit
a386e3a3d2
@ -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()
|
||||||
|
@ -45,9 +45,8 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lintOptions {
|
lint {
|
||||||
disable('LongLogTag')
|
disable 'LongLogTag', 'NewApi'
|
||||||
disable('NewApi') // Desugaring!
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,10 +56,9 @@ android {
|
|||||||
versionNameSuffix "-debug"
|
versionNameSuffix "-debug"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
lintOptions {
|
lint {
|
||||||
disable('LongLogTag')
|
disable 'LongLogTag'
|
||||||
warning('MissingTranslation')
|
warning 'MissingTranslation', 'ImpliedQuantity'
|
||||||
warning('ImpliedQuantity')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user