Skip to content

Commit

Permalink
Remove detekt
Browse files Browse the repository at this point in the history
  • Loading branch information
nbirillo committed Aug 19, 2024
1 parent 73abaa5 commit 4557c30
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 76 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/gradle-build-with-detekt.yml

This file was deleted.

21 changes: 0 additions & 21 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ plugins {
id("org.springframework.boot") version "2.7.3" apply false
id("io.spring.dependency-management") version "1.0.13.RELEASE" apply false
id("org.jetbrains.kotlin.plugin.spring") version kotlinVersion apply false
id("io.gitlab.arturbosch.detekt") version "1.21.0"

id("org.siouan.frontend-jdk11") version "6.0.0"
}
Expand All @@ -30,10 +29,6 @@ fun printOutput(output: Any): Task {
}
}

val detektReportMerge by tasks.registering(io.gitlab.arturbosch.detekt.report.ReportMergeTask::class) {
output.set(rootProject.buildDir.resolve("reports/detekt/merge.sarif"))
}

allprojects {
repositories {
mavenCentral()
Expand All @@ -53,27 +48,11 @@ val frontendSuffix = "Frontend"
val server = "Server"

configure(subprojects.filter { frontendSuffix !in it.name }) {
apply<io.gitlab.arturbosch.detekt.DetektPlugin>()

apply {
plugin("java")
plugin("kotlin")
}

configure<io.gitlab.arturbosch.detekt.extensions.DetektExtension> {
config = rootProject.files("detekt.yml")
buildUponDefaultConfig = true
debug = true
}

tasks.withType<io.gitlab.arturbosch.detekt.Detekt> {
finalizedBy(detektReportMerge)
reports.sarif.required.set(true)
detektReportMerge.get().input.from(sarifReportFile)
}

tasks.getByPath("detekt").onlyIf { project.hasProperty("runDetekt") }

dependencies {
implementation("org.jetbrains.academy.test.system:kotlin-test-system:1.0.9")
}
Expand Down
34 changes: 0 additions & 34 deletions detekt.yml

This file was deleted.

0 comments on commit 4557c30

Please sign in to comment.