Skip to content

Commit

Permalink
Remove ktlint and detekt from build script
Browse files Browse the repository at this point in the history
  • Loading branch information
parttimenerd committed Feb 10, 2023
1 parent 7efec90 commit c1fe26d
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ plugins {

id("com.github.johnrengelman.shadow") version "7.1.2"

id("io.gitlab.arturbosch.detekt") version "1.21.0"

id("org.jlleitschuh.gradle.ktlint") version "11.0.0"

`maven-publish`

// Apply the application plugin to add support for building a CLI application in Java.
Expand All @@ -48,19 +44,6 @@ plugins {

apply { plugin("com.github.johnrengelman.shadow") }

detekt {
buildUponDefaultConfig = true // preconfigure defaults
// config = files("$rootDir/config/detekt/detekt.yml")
autoCorrect = true
}

tasks.withType<io.gitlab.arturbosch.detekt.Detekt>().configureEach {
jvmTarget = "11"
}
tasks.withType<io.gitlab.arturbosch.detekt.DetektCreateBaselineTask>().configureEach {
jvmTarget = "11"
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
Expand Down Expand Up @@ -106,7 +89,6 @@ dependencies {

// Use the Kotlin JUnit integration.
testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
detektPlugins("io.gitlab.arturbosch.detekt:detekt-formatting:1.21.0")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-core:1.4.1")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1")
implementation("me.bechberger:jfrtofp-server:0.0.2-SNAPSHOT") {
Expand Down

0 comments on commit c1fe26d

Please sign in to comment.