mirror of
https://github.com/yogeshpaliyal/KeyPass.git
synced 2025-12-17 00:55:12 -06:00
feat: remove spotless
This commit is contained in:
2
.github/workflows/pr-check.yaml
vendored
2
.github/workflows/pr-check.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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<String, String>()
|
||||
ktlint("0.46.0").userData(map)
|
||||
// licenseHeaderFile rootProject.file('spotless/copyright.kt')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//tasks.register("clean", Delete::class) {
|
||||
|
||||
@@ -5,5 +5,5 @@ echo "Running git pre-commit hook"
|
||||
echo "*******************************"
|
||||
|
||||
# Run Spotless
|
||||
./gradlew spotlessApply
|
||||
./gradlew spotlessKotlinApply
|
||||
#./gradlew spotlessApply
|
||||
#./gradlew spotlessKotlinApply
|
||||
|
||||
Reference in New Issue
Block a user