apply plugin: "com.diffplug.spotless" spotless { kotlin { target "**/*.kt" ktfmt().googleStyle() licenseHeaderFile '../spotless.license.kt' trimTrailingWhitespace() endWithNewline() } }