mirror of
https://github.com/jlengrand/detekt.git
synced 2026-03-10 08:11:23 +00:00
26 lines
889 B
Kotlin
26 lines
889 B
Kotlin
plugins {
|
|
commons
|
|
packaging
|
|
releasing
|
|
detekt
|
|
id("org.jetbrains.dokka") apply false
|
|
id("com.github.johnrengelman.shadow") apply false
|
|
id("com.github.ben-manes.versions")
|
|
id("org.sonarqube")
|
|
id("binary-compatibility-validator")
|
|
}
|
|
|
|
buildScan {
|
|
termsOfServiceUrl = "https://gradle.com/terms-of-service"
|
|
termsOfServiceAgree = "yes"
|
|
}
|
|
|
|
apiValidation {
|
|
// rootProject.name is a temporary workaround to exclude api validation of rootProject.
|
|
// We should refactoring our gradle setup to not apply `JavaBasePlugin`
|
|
ignoredProjects.add(rootProject.name)
|
|
// We need to perform api validations for external APIs, for :detekt-api and :detekt-psi-utils
|
|
ignoredProjects.addAll(subprojects.filter { it.name !in listOf("detekt-api", "detekt-psi-utils") }.map { it.name })
|
|
ignoredPackages.add("io.gitlab.arturbosch.detekt.api.internal")
|
|
}
|