mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-15 05:17:03 +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) {
|
if (!isJVM) {
|
||||||
enable += "ComposeM2Api"
|
enable += "ComposeM2Api"
|
||||||
error += "ComposeM2Api"
|
error += "ComposeM2Api"
|
||||||
// False-positives in the TestContainers library
|
|
||||||
disable += "DeprecatedCall"
|
|
||||||
}
|
}
|
||||||
baseline = project.file("lint-baseline.xml")
|
baseline = project.file("lint-baseline.xml")
|
||||||
// This is extremely annoying
|
// This is extremely annoying
|
||||||
disable += "AndroidGradlePluginVersion"
|
disable += "AndroidGradlePluginVersion"
|
||||||
disable += "GradleDependency"
|
disable += "GradleDependency"
|
||||||
disable += "NewerVersionAvailable"
|
disable += "NewerVersionAvailable"
|
||||||
|
// Can't do anything about this
|
||||||
|
disable += "ObsoleteLintCustomCheck"
|
||||||
}
|
}
|
||||||
|
|
||||||
fun configureRootProject(project: Project) {
|
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
|
* Use of this source code is governed by an MIT-style
|
||||||
* license that can be found in the LICENSE file or at
|
* license that can be found in the LICENSE file or at
|
||||||
* https://opensource.org/licenses/MIT.
|
* https://opensource.org/licenses/MIT.
|
||||||
|
@ -16,6 +16,8 @@ android {
|
||||||
buildFeatures.compose = true
|
buildFeatures.compose = true
|
||||||
composeOptions.kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
|
composeOptions.kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
|
||||||
kotlin.explicitApi()
|
kotlin.explicitApi()
|
||||||
|
// Don't quite care
|
||||||
|
lint.disable += "DeprecatedCall"
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue