Skip to content

Commit 39ee4a9

Browse files
committed
feat: remove spotless
1 parent 73ec238 commit 39ee4a9

File tree

3 files changed

+3
-16
lines changed

3 files changed

+3
-16
lines changed

.github/workflows/pr-check.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616

1717
jobs:
1818
validate-pr:
19-
name: 'Spotless, Tests and Build Production Debug Build'
19+
name: 'Tests and Build Production Debug Build'
2020
runs-on: ubuntu-latest
2121
steps:
2222
- uses: actions/checkout@v4

build.gradle.kts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ plugins {
2424
kotlin("android") version("2.0.21") apply false
2525
id("com.android.application") version("7.4.2") apply false
2626
id("com.android.library") version("7.4.2") apply false
27-
id ("com.diffplug.spotless") version("6.18.0")
2827
id("org.jetbrains.kotlin.kapt") version(Versions.kotlin)
2928
id("com.google.dagger.hilt.android") version ("2.55") apply false
3029
id("com.gradle.enterprise") version("3.19.1") apply false
@@ -39,18 +38,6 @@ subprojects {
3938
maven("https://jitpack.io")
4039
}
4140

42-
apply(plugin = "com.diffplug.spotless")
43-
spotless {
44-
kotlin {
45-
target("**/*.kt")
46-
targetExclude("$buildDir/**/*.kt")
47-
targetExclude("bin/**/*.kt")
48-
49-
val map = HashMap<String, String>()
50-
ktlint("0.46.0").userData(map)
51-
// licenseHeaderFile rootProject.file('spotless/copyright.kt')
52-
}
53-
}
5441
}
5542

5643
//tasks.register("clean", Delete::class) {

githooks/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ echo "Running git pre-commit hook"
55
echo "*******************************"
66

77
# Run Spotless
8-
./gradlew spotlessApply
9-
./gradlew spotlessKotlinApply
8+
#./gradlew spotlessApply
9+
#./gradlew spotlessKotlinApply

0 commit comments

Comments
 (0)