2021-12-01 05:25:44 +03:00
|
|
|
buildscript {
|
|
|
|
ext {
|
2024-02-21 18:33:42 +03:00
|
|
|
compose_version = '1.6.1'
|
|
|
|
compose_compiler_version = '1.5.9'
|
2023-10-02 20:22:50 +03:00
|
|
|
compose_activity_version = '1.7.2'
|
2024-02-21 18:33:42 +03:00
|
|
|
landscapist_version = '2.3.1'
|
2021-12-01 05:25:44 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
plugins {
|
2023-10-02 20:22:50 +03:00
|
|
|
id 'com.android.application' version '8.1.2' apply false
|
2024-02-21 18:33:42 +03:00
|
|
|
id 'org.jetbrains.kotlin.android' version '1.9.22' apply false
|
2023-10-02 20:22:50 +03:00
|
|
|
id "com.diffplug.spotless" version "6.7.0" apply false
|
2021-12-01 05:25:44 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
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()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|