mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 21:07:04 +05:30
feat: add Google's security lints
This commit is contained in:
parent
e2ae36616c
commit
276578d9da
3 changed files with 5 additions and 3 deletions
|
@ -79,5 +79,5 @@ dependencies {
|
|||
// Expose the generated version catalog API to the plugin.
|
||||
implementation(files(libs::class.java.superclass.protectionDomain.codeSource.location))
|
||||
|
||||
lintChecks(libs.androidx.lint)
|
||||
lintChecks(libs.androidx.lint.gradle)
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright © 2022-2024 Harsh Shandilya.
|
||||
* Copyright © 2022-2025 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.
|
||||
|
@ -52,6 +52,7 @@ class AndroidCommonPlugin : Plugin<Project> {
|
|||
project.extensions.findByType<ApplicationExtension>()?.lint?.configureLint(project)
|
||||
project.extensions.findByType<LibraryExtension>()?.lint?.configureLint(project)
|
||||
val libs = project.extensions.getByName("libs") as LibrariesForLibs
|
||||
project.dependencies.addProvider("lintChecks", libs.android.security.lints)
|
||||
project.dependencies.addProvider("lintChecks", libs.slack.compose.lints)
|
||||
project.dependencies.addProvider("lintChecks", libs.slack.lints)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue