mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 23:27:04 +05:30
fix(build): disable ObsoleteLintCustomCheck lint
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
af7c54203f
commit
fdf891c8eb
2 changed files with 5 additions and 3 deletions
|
@ -31,14 +31,14 @@ object LintConfig {
|
|||
if (!isJVM) {
|
||||
enable += "ComposeM2Api"
|
||||
error += "ComposeM2Api"
|
||||
// False-positives in the TestContainers library
|
||||
disable += "DeprecatedCall"
|
||||
}
|
||||
baseline = project.file("lint-baseline.xml")
|
||||
// This is extremely annoying
|
||||
disable += "AndroidGradlePluginVersion"
|
||||
disable += "GradleDependency"
|
||||
disable += "NewerVersionAvailable"
|
||||
// Can't do anything about this
|
||||
disable += "ObsoleteLintCustomCheck"
|
||||
}
|
||||
|
||||
fun configureRootProject(project: Project) {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2023 Harsh Shandilya.
|
||||
* Copyright © 2023-2024 Harsh Shandilya.
|
||||
* Use of this source code is governed by an MIT-style
|
||||
* license that can be found in the LICENSE file or at
|
||||
* https://opensource.org/licenses/MIT.
|
||||
|
@ -16,6 +16,8 @@ android {
|
|||
buildFeatures.compose = true
|
||||
composeOptions.kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
|
||||
kotlin.explicitApi()
|
||||
// Don't quite care
|
||||
lint.disable += "DeprecatedCall"
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue