From 0a8f902e79c28f17e1fee1398a9655b1f5b755f0 Mon Sep 17 00:00:00 2001 From: Richard Harrah Date: Sun, 3 Jul 2022 12:19:06 -0400 Subject: [PATCH] temporarily disable ktlint --- .../conventions/MythicDropsKotlinJvmPlugin.kt | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/main/kotlin/dev/mythicdrops/gradle/conventions/MythicDropsKotlinJvmPlugin.kt b/src/main/kotlin/dev/mythicdrops/gradle/conventions/MythicDropsKotlinJvmPlugin.kt index 3e25bcf..7e4582d 100644 --- a/src/main/kotlin/dev/mythicdrops/gradle/conventions/MythicDropsKotlinJvmPlugin.kt +++ b/src/main/kotlin/dev/mythicdrops/gradle/conventions/MythicDropsKotlinJvmPlugin.kt @@ -13,8 +13,6 @@ import org.jetbrains.dokka.gradle.DokkaPlugin import org.jetbrains.dokka.gradle.DokkaTask import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension import org.jetbrains.kotlin.gradle.tasks.KotlinCompile -import org.jlleitschuh.gradle.ktlint.KtlintExtension -import org.jlleitschuh.gradle.ktlint.KtlintPlugin /** * Plugin that configures Kotlin for JDK 16, enables Detekt, and enables/configures KTLint to use 0.46.0. @@ -26,7 +24,7 @@ open class MythicDropsKotlinJvmPlugin : DependentPlugin("Kotlin JVM", "org.jetbr // apply plugins target.pluginManager.apply(DetektPlugin::class.java) target.pluginManager.apply(DokkaPlugin::class.java) - target.pluginManager.apply(KtlintPlugin::class.java) + // target.pluginManager.apply(KtlintPlugin::class.java) // configure kotlin to use JDK 16 target.configure { @@ -37,13 +35,13 @@ open class MythicDropsKotlinJvmPlugin : DependentPlugin("Kotlin JVM", "org.jetbr } // set ktlint version to 0.46.0 - target.configure { - version.set("0.46.0") - filter { - exclude("**/generated/**") - exclude("**/generated-sources/**") - } - } + // target.configure { + // version.set("0.46.0") + // filter { + // exclude("**/generated/**") + // exclude("**/generated-sources/**") + // } + // } target.tasks.withType { kotlinOptions {