File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 99
99
uses : ./.github/actions/gradle-command-self-hosted-action
100
100
with :
101
101
gradle-command : spotlessCheck checkStyleMain checkStyleTest :buildSrc:spotlessCheck
102
+ arguments : -PdisableSpotlessApply
102
103
- name : Upload test report
103
104
uses : actions/upload-artifact@v4
104
105
with :
Original file line number Diff line number Diff line change @@ -649,8 +649,8 @@ tasks.register("checkSetup") {
649
649
650
650
// if not disabled make spotlessApply dependency of compileJava and compileTestJava
651
651
val disableSpotlessCheck: String by project
652
- val isSpotlessDisabled = project.hasProperty(" disableSpotlessCheck" ) &&
653
- disableSpotlessCheck == " true"
652
+ val isSpotlessDisabled = ( project.hasProperty(" disableSpotlessCheck" ) &&
653
+ disableSpotlessCheck == " true" ) || project.hasProperty( " disableSpotlessApply " )
654
654
if (! isSpotlessDisabled) {
655
655
subprojects {
656
656
afterEvaluate {
You can’t perform that action at this time.
0 commit comments