Skip to content

Commit

Permalink
Merge pull request #2853 from rsksmart/fix/disable-auto-checks
Browse files Browse the repository at this point in the history
Fix/disable auto checks
  • Loading branch information
Vovchyk authored Nov 26, 2024
2 parents fb418b5 + cb3a5b9 commit 14d8c9b
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions rskj-core/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ checkstyle {
}

spotless {
enforceCheck false
java {
googleJavaFormat()
indentWithTabs(2)
Expand Down Expand Up @@ -150,6 +151,7 @@ tasks.withType(Checkstyle).configureEach { Checkstyle task ->
}
}
}
task.dependsOn processResources
}

configurations {
Expand Down Expand Up @@ -565,9 +567,14 @@ static def amendPathIfNeeded(details) {
}
}

tasks.named('check').configure {
dependsOn 'checkstyleMain'
dependsOn 'checkstyleTest'
dependsOn 'checkstyleJmh'
dependsOn 'checkstyleIntegrationTest'
}
task checkstyleAll {
group = 'Verification'
description = 'Run all Checkstyle checks'
dependsOn 'checkstyleMain', 'checkstyleTest', 'checkstyleJmh', 'checkstyleIntegrationTest'
}

task spotlessAll {
group = 'Verification'
description = 'Run all Spotless checks'
dependsOn 'spotlessJavaCheck'
}

0 comments on commit 14d8c9b

Please sign in to comment.