On apache/beam#7505 ./gradlew spotlessCheck passed (you can see it in the Jenkins statuses) but ./gradlew spotlessApply is not a noop, we discovered afterwards.
I confirmed that with paddedCell disabled spotlessCheck failed.
Gradle version: 4.10.3
Spotless plugin version: 3.16.0
GoogleJavaFormat: 1.7
Operating system & version: various Mac & Linux
Configuration block (also easy to see in the PR):
def disableSpotlessCheck = project.hasProperty('disableSpotlessCheck')
spotless {
enforceCheck !disableSpotlessCheck
java {
licenseHeader javaLicenseHeader
googleJavaFormat()
// Details see: https://github.com/diffplug/spotless/blob/master/PADDEDCELL.md
paddedCell()
}
}
Errors emitted: none
If you are submitting a bug, please include the following:
If you're just submitting a feature request or question, no need for the above.
On apache/beam#7505
./gradlew spotlessCheckpassed (you can see it in the Jenkins statuses) but./gradlew spotlessApplyis not a noop, we discovered afterwards.I confirmed that with paddedCell disabled
spotlessCheckfailed.Gradle version: 4.10.3
Spotless plugin version: 3.16.0
GoogleJavaFormat: 1.7
Operating system & version: various Mac & Linux
Configuration block (also easy to see in the PR):
Errors emitted: none
If you are submitting a bug, please include the following:
gradlew spotless[Apply/Check] --stacktraceIf you're just submitting a feature request or question, no need for the above.