diff --git a/.github/workflows/pr-check.yaml b/.github/workflows/pr-check.yaml index edcf5739..2c2ea5e9 100644 --- a/.github/workflows/pr-check.yaml +++ b/.github/workflows/pr-check.yaml @@ -16,7 +16,7 @@ on: jobs: validate-pr: - name: 'Spotless, Tests and Build Production Debug Build' + name: 'Tests and Build Production Debug Build' runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/build.gradle.kts b/build.gradle.kts index 84c74926..6463acaa 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -24,7 +24,6 @@ plugins { kotlin("android") version("2.0.21") apply false id("com.android.application") version("7.4.2") apply false id("com.android.library") version("7.4.2") apply false - id ("com.diffplug.spotless") version("6.18.0") id("org.jetbrains.kotlin.kapt") version(Versions.kotlin) id("com.google.dagger.hilt.android") version ("2.55") apply false id("com.gradle.enterprise") version("3.19.1") apply false @@ -39,18 +38,6 @@ subprojects { maven("https://jitpack.io") } - apply(plugin = "com.diffplug.spotless") - spotless { - kotlin { - target("**/*.kt") - targetExclude("$buildDir/**/*.kt") - targetExclude("bin/**/*.kt") - - val map = HashMap() - ktlint("0.46.0").userData(map) - // licenseHeaderFile rootProject.file('spotless/copyright.kt') - } - } } //tasks.register("clean", Delete::class) { diff --git a/githooks/pre-commit b/githooks/pre-commit index bf4d0869..260af929 100755 --- a/githooks/pre-commit +++ b/githooks/pre-commit @@ -5,5 +5,5 @@ echo "Running git pre-commit hook" echo "*******************************" # Run Spotless -./gradlew spotlessApply -./gradlew spotlessKotlinApply +#./gradlew spotlessApply +#./gradlew spotlessKotlinApply