diff options
Diffstat (limited to 'buildSrc/build.gradle.kts')
-rw-r--r-- | buildSrc/build.gradle.kts | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts index 627cab92..685ab88b 100644 --- a/buildSrc/build.gradle.kts +++ b/buildSrc/build.gradle.kts @@ -3,7 +3,10 @@ * SPDX-License-Identifier: GPL-3.0-only */ -plugins { `kotlin-dsl` } +plugins { + `kotlin-dsl` + id("com.ncorti.ktfmt.gradle") version "0.4.0" +} repositories { google() @@ -13,6 +16,11 @@ repositories { maven { url = uri("https://kotlin.bintray.com/kotlinx") } } +ktfmt { + googleStyle() + maxWidth.set(120) +} + kotlinDslPluginOptions { experimentalWarning.set(false) } gradlePlugin { |