File tree Expand file tree Collapse file tree 3 files changed +3
-16
lines changed Expand file tree Collapse file tree 3 files changed +3
-16
lines changed Original file line number Diff line number Diff line change 16
16
17
17
jobs :
18
18
validate-pr :
19
- name : ' Spotless, Tests and Build Production Debug Build'
19
+ name : ' Tests and Build Production Debug Build'
20
20
runs-on : ubuntu-latest
21
21
steps :
22
22
- uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ plugins {
24
24
kotlin(" android" ) version(" 2.0.21" ) apply false
25
25
id(" com.android.application" ) version(" 7.4.2" ) apply false
26
26
id(" com.android.library" ) version(" 7.4.2" ) apply false
27
- id (" com.diffplug.spotless" ) version(" 6.18.0" )
28
27
id(" org.jetbrains.kotlin.kapt" ) version(Versions .kotlin)
29
28
id(" com.google.dagger.hilt.android" ) version (" 2.55" ) apply false
30
29
id(" com.gradle.enterprise" ) version(" 3.19.1" ) apply false
@@ -39,18 +38,6 @@ subprojects {
39
38
maven(" https://jitpack.io" )
40
39
}
41
40
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
- }
54
41
}
55
42
56
43
// tasks.register("clean", Delete::class) {
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ echo "Running git pre-commit hook"
5
5
echo " *******************************"
6
6
7
7
# Run Spotless
8
- ./gradlew spotlessApply
9
- ./gradlew spotlessKotlinApply
8
+ # ./gradlew spotlessApply
9
+ # ./gradlew spotlessKotlinApply
You can’t perform that action at this time.
0 commit comments