Upgrade ktfmt to 0.33 (#1753)

* build: upgrade ktfmt to 0.33

* all: reformat with ktfmt 0.33
This commit is contained in:
Harsh Shandilya 2022-02-26 01:58:20 +05:30 committed by GitHub
parent 0af4e2920c
commit 778834d5e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 26 deletions

View file

@ -5,14 +5,16 @@
plugins { id("com.diffplug.spotless") }
val KTFMT_VERSION = "0.33"
spotless {
kotlin {
ktfmt().googleStyle()
ktfmt(KTFMT_VERSION).googleStyle()
target("**/*.kt")
targetExclude("**/build/")
}
kotlinGradle {
ktfmt().googleStyle()
ktfmt(KTFMT_VERSION).googleStyle()
target("**/*.kts")
targetExclude("**/build/")
}