aboutsummaryrefslogtreecommitdiff
path: root/build-logic/build.gradle.kts
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2024-08-14 00:18:51 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2024-08-14 00:18:51 +0530
commitb699b4db71d08b574cc31daf4ee8c9b849ebaa11 (patch)
tree50dd1fddb1c2c270a28d5819af2bbe570fcbb289 /build-logic/build.gradle.kts
parent3af68b45c4cfd815b9975108fa09cb3872fbab8b (diff)
feat(build): replace homebrew ktfmt formatter with Spotless
Spotless has fixed their Gradle Configuration Cache woes in the past couple months which gets rid of my primary complaint.
Diffstat (limited to 'build-logic/build.gradle.kts')
-rw-r--r--build-logic/build.gradle.kts10
1 files changed, 5 insertions, 5 deletions
diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts
index 4917fc8c..1f98dde8 100644
--- a/build-logic/build.gradle.kts
+++ b/build-logic/build.gradle.kts
@@ -41,10 +41,6 @@ gradlePlugin {
id = "com.github.android-password-store.kotlin-jvm-library"
implementationClass = "app.passwordstore.gradle.KotlinJVMLibrary"
}
- register("ktfmt") {
- id = "com.github.android-password-store.ktfmt"
- implementationClass = "app.passwordstore.gradle.KtfmtPlugin"
- }
register("published-android-library") {
id = "com.github.android-password-store.published-android-library"
implementationClass = "app.passwordstore.gradle.PublishedAndroidLibraryPlugin"
@@ -61,6 +57,10 @@ gradlePlugin {
id = "com.github.android-password-store.sentry"
implementationClass = "app.passwordstore.gradle.SentryPlugin"
}
+ register("spotless") {
+ id = "com.github.android-password-store.spotless"
+ implementationClass = "app.passwordstore.gradle.SpotlessPlugin"
+ }
register("versioning") {
id = "com.github.android-password-store.versioning-plugin"
implementationClass = "app.passwordstore.gradle.versioning.VersioningPlugin"
@@ -79,7 +79,6 @@ dependencies {
implementation(libs.build.download)
implementation(libs.build.javapoet)
implementation(libs.build.kotlin)
- implementation(libs.build.ktfmt)
implementation(libs.build.mavenpublish)
implementation(libs.build.metalava)
implementation(libs.build.moshi)
@@ -88,6 +87,7 @@ dependencies {
implementation(libs.build.r8)
implementation(libs.build.semver)
implementation(libs.build.sentry)
+ implementation(libs.build.spotless)
implementation(libs.build.vcu)
implementation(libs.kotlinx.coroutines.core)