chore: update lint rules and baselines (#442)
This commit is contained in:
parent
6c8b4324d3
commit
432ea617c9
6 changed files with 825 additions and 567 deletions
|
|
@ -1,3 +1,4 @@
|
|||
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.jetbrains.kotlin.konan.properties.Properties
|
||||
import java.io.FileInputStream
|
||||
|
|
@ -102,7 +103,9 @@ android {
|
|||
}
|
||||
|
||||
tasks.withType<KotlinCompile> {
|
||||
kotlinOptions.jvmTarget = project.libs.versions.app.build.kotlinJVMTarget.get()
|
||||
compilerOptions.jvmTarget.set(
|
||||
JvmTarget.fromTarget(project.libs.versions.app.build.kotlinJVMTarget.get())
|
||||
)
|
||||
}
|
||||
|
||||
namespace = project.property("APP_ID").toString()
|
||||
|
|
@ -110,8 +113,9 @@ android {
|
|||
lint {
|
||||
checkReleaseBuilds = false
|
||||
abortOnError = true
|
||||
warningsAsErrors = true
|
||||
warningsAsErrors = false
|
||||
baseline = file("lint-baseline.xml")
|
||||
lintConfig = rootProject.file("lint.xml")
|
||||
}
|
||||
|
||||
bundle {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue