diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2021-03-09 14:41:51 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2021-03-18 11:26:48 +0530 |
commit | cd378d1bbc5ac6bcd206699271f692bab61d308e (patch) | |
tree | 3e882723325e9c030bc8a1b18c764cdbbe8d1464 /buildSrc/src/main/java/Ktfmt.kt | |
parent | 5e28cf45e44e26e9ce14ba5f6d46871515533bc9 (diff) |
build: apply Ktfmt Gradle plugin
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'buildSrc/src/main/java/Ktfmt.kt')
-rw-r--r-- | buildSrc/src/main/java/Ktfmt.kt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/buildSrc/src/main/java/Ktfmt.kt b/buildSrc/src/main/java/Ktfmt.kt new file mode 100644 index 00000000..5620c3bd --- /dev/null +++ b/buildSrc/src/main/java/Ktfmt.kt @@ -0,0 +1,11 @@ +/* + * Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved. + * SPDX-License-Identifier: GPL-3.0-only + */ + +import com.ncorti.ktfmt.gradle.KtfmtExtension + +fun KtfmtExtension.configureKtfmt() { + googleStyle() + maxWidth.set(120) +} |