2022-04-26 05:08:28 -07:00
|
|
|
buildscript {
|
|
|
|
dependencyLocking {
|
|
|
|
lockAllConfigurations()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencyLocking {
|
|
|
|
lockAllConfigurations()
|
|
|
|
}
|
|
|
|
|
2022-04-25 05:07:50 -07:00
|
|
|
plugins {
|
|
|
|
id("bip39.ktlint-conventions")
|
2022-05-04 11:55:09 -07:00
|
|
|
alias(libs.plugins.detekt)
|
|
|
|
}
|
|
|
|
|
|
|
|
tasks {
|
|
|
|
register("detektAll", io.gitlab.arturbosch.detekt.Detekt::class) {
|
|
|
|
parallel = true
|
|
|
|
setSource(files(projectDir))
|
|
|
|
include("**/*.kt")
|
|
|
|
//include("**/*.kts")
|
|
|
|
exclude("**/resources/**")
|
|
|
|
exclude("**/build/**")
|
|
|
|
exclude("**/commonTest/**")
|
|
|
|
exclude("**/jvmTest/**")
|
|
|
|
exclude("**/androidTest/**")
|
|
|
|
config.setFrom(files("${rootProject.projectDir}/tools/detekt.yml"))
|
|
|
|
baseline.set(file("$rootDir/tools/detekt-baseline.xml"))
|
|
|
|
buildUponDefaultConfig = true
|
|
|
|
}
|
2022-04-25 05:07:50 -07:00
|
|
|
}
|