buildscript { ext { compose_version = '1.6.1' compose_compiler_version = '1.5.9' compose_activity_version = '1.7.2' landscapist_version = '2.3.1' } } plugins { id 'com.android.application' version '8.1.2' apply false id 'org.jetbrains.kotlin.android' version '1.9.22' apply false id "com.diffplug.spotless" version "6.7.0" apply false } subprojects { apply plugin: 'com.diffplug.spotless' spotless { kotlin { target "**/*.kt" ktlint("0.41.0").userData(['indent_size': '2', 'continuation_indent_size': '2']) licenseHeaderFile "$rootDir/spotless.license.kt" trimTrailingWhitespace() endWithNewline() } } }