Skip to content

Commit

Permalink
get rid of ktfmt and spotless, since ktlint is what is used in this repo
Browse files Browse the repository at this point in the history
  • Loading branch information
dconeybe committed Nov 19, 2024
1 parent 9005866 commit 1fce124
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
9 changes: 0 additions & 9 deletions dataconnect/buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
plugins {
// See https://docs.gradle.org/current/userguide/kotlin_dsl.html#sec:kotlin-dsl_plugin
`kotlin-dsl`
alias(libs.plugins.spotless)
}

java { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } }
Expand All @@ -35,11 +34,3 @@ gradlePlugin {
}
}
}

spotless {
kotlin { ktfmt(libs.versions.ktfmt.get()).googleStyle() }
kotlinGradle {
target("*.gradle.kts")
ktfmt(libs.versions.ktfmt.get()).googleStyle()
}
}
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ activityCompose = "1.9.3"
composeBom = "2024.11.00"
googleServices = "4.4.2"
composeNavigation = "2.8.4"
ktfmt = "0.43"

[libraries]
android-gradlePlugin-api = { group = "com.android.tools.build", name = "gradle-api", version.ref = "agp" }
Expand Down Expand Up @@ -47,4 +46,3 @@ jetbrains-kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref =
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
google-services = { id = "com.google.gms.google-services", version.ref = "googleServices" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
spotless = { id = "com.diffplug.spotless", version = "7.0.0.BETA3" }

0 comments on commit 1fce124

Please sign in to comment.