Files
coco 723ce1af5c a
2026-07-03 15:12:48 +08:00

37 lines
848 B
Kotlin

plugins {
`java-gradle-plugin`
`kotlin-dsl`
alias(libs.plugins.detekt)
}
dependencies {
implementation(libs.plugin.android)
implementation(libs.plugin.detekt)
}
tasks.withType(org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile::class.java).configureEach {
kotlinOptions.jvmTarget = JavaVersion.VERSION_11.name
}
detekt {
buildUponDefaultConfig = true
config.from(file("../../detekt.yml"))
}
gradlePlugin {
plugins {
create("appyx-collect-sarif") {
id = "appyx-collect-sarif"
implementationClass = "CollectSarifPlugin"
}
create("appyx-lint") {
id = "appyx-lint"
implementationClass = "LintPlugin"
}
create("appyx-detekt") {
id = "appyx-detekt"
implementationClass = "DetektPlugin"
}
}
}