From 24c03d05e4d6b5cc1e7b391c24105b224dc85920 Mon Sep 17 00:00:00 2001 From: vince Date: Sun, 20 Aug 2023 23:31:26 +0800 Subject: [PATCH] use ktlint_official code style --- ktorm-core/ktorm-core.gradle.kts | 2 +- ktorm-ksp-compiler/ktorm-ksp-compiler.gradle.kts | 2 +- .../src/main/resources/ktorm-ksp-compiler/.editorconfig | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ktorm-core/ktorm-core.gradle.kts b/ktorm-core/ktorm-core.gradle.kts index 12f505c7..f405badd 100644 --- a/ktorm-core/ktorm-core.gradle.kts +++ b/ktorm-core/ktorm-core.gradle.kts @@ -11,7 +11,7 @@ dependencies { compileOnly("org.springframework:spring-jdbc:5.0.10.RELEASE") compileOnly("org.springframework:spring-tx:5.0.10.RELEASE") testImplementation("com.h2database:h2:1.4.198") - testImplementation("org.slf4j:slf4j-simple:1.7.25") + testImplementation("org.slf4j:slf4j-simple:2.0.3") } val testOutput by configurations.creating { diff --git a/ktorm-ksp-compiler/ktorm-ksp-compiler.gradle.kts b/ktorm-ksp-compiler/ktorm-ksp-compiler.gradle.kts index 34bcaaee..6fc55fa0 100644 --- a/ktorm-ksp-compiler/ktorm-ksp-compiler.gradle.kts +++ b/ktorm-ksp-compiler/ktorm-ksp-compiler.gradle.kts @@ -22,5 +22,5 @@ dependencies { testImplementation("com.github.tschuchortdev:kotlin-compile-testing:1.5.0") testImplementation("com.github.tschuchortdev:kotlin-compile-testing-ksp:1.5.0") testImplementation("com.h2database:h2:1.4.198") - testImplementation("org.slf4j:slf4j-simple:1.7.25") + testImplementation("org.slf4j:slf4j-simple:2.0.3") } diff --git a/ktorm-ksp-compiler/src/main/resources/ktorm-ksp-compiler/.editorconfig b/ktorm-ksp-compiler/src/main/resources/ktorm-ksp-compiler/.editorconfig index c0238f54..9e72d1b6 100644 --- a/ktorm-ksp-compiler/src/main/resources/ktorm-ksp-compiler/.editorconfig +++ b/ktorm-ksp-compiler/src/main/resources/ktorm-ksp-compiler/.editorconfig @@ -1,6 +1,6 @@ # ktlint config used to format the generated code. [*.{kt,kts}] -ktlint_code_style = official +ktlint_code_style = ktlint_official indent_size = 4 indent_style = space max_line_length = 120