Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ allprojects {
kotlin {
target("**/*.kt")
targetExclude("**/build/**/*.kt", "spotless/**/*.kt")
targetExclude(
"**/build/**/*.kt",
"spotless/**/*.kt",
"src/main/kotlin/com/example/android/kotlin/style/StyleGuideFormatting.kt",
"src/test/kotlin/com/example/android/kotlin/style/StyleGuideFormattingTest.kt",
)

val disabledRules = arrayOf(
// These rules were introduced in ktlint 0.46.0 and should not be
Expand Down
2 changes: 2 additions & 0 deletions kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,8 @@ android {
dependencies {
implementation(libs.androidx.lifecycle.viewmodel.ktx)
implementation(libs.kotlinx.coroutines.android)
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.compose.ui)
testImplementation(libs.kotlinx.coroutines.test)
testImplementation(libs.junit)
}
Loading
Loading