android-developer-roadmap/build.gradle

28 lines
746 B
Groovy
Raw Normal View History

2021-12-01 05:25:44 +03:00
buildscript {
ext {
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'
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
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()
}
}
}