skip spotless as part of the check task (#10797)

This commit is contained in:
William Cheng 2021-11-06 18:50:38 +08:00 committed by GitHub
parent bd1a6471b6
commit 3284fc2f7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 25 additions and 10 deletions

View File

@ -145,6 +145,9 @@ javadoc {
// To apply changes directly to the file, run `gradlew spotlessApply` // To apply changes directly to the file, run `gradlew spotlessApply`
// Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle // Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle
spotless { spotless {
// comment out below to run spotless as part of the `check` task
enforceCheck false
format 'misc', { format 'misc', {
// define the files (e.g. '*.gradle', '*.md') to apply `misc` to // define the files (e.g. '*.gradle', '*.md') to apply `misc` to
target '.gitignore' target '.gitignore'

View File

@ -206,8 +206,8 @@
<trimTrailingWhitespace/> <trimTrailingWhitespace/>
<endWithNewline/> <endWithNewline/>
<indent> <indent>
<tabs>true</tabs> <spaces>true</spaces> <!-- or <tabs>true</tabs> -->
<spacesPerTab>4</spacesPerTab> <spacesPerTab>4</spacesPerTab> <!-- optional, default is 4 -->
</indent> </indent>
</format> </format>
</formats> </formats>

View File

@ -128,6 +128,9 @@ javadoc {
// To apply changes directly to the file, run `gradlew spotlessApply` // To apply changes directly to the file, run `gradlew spotlessApply`
// Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle // Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle
spotless { spotless {
// comment out below to run spotless as part of the `check` task
enforceCheck false
format 'misc', { format 'misc', {
// define the files (e.g. '*.gradle', '*.md') to apply `misc` to // define the files (e.g. '*.gradle', '*.md') to apply `misc` to
target '.gitignore' target '.gitignore'

View File

@ -199,8 +199,8 @@
<trimTrailingWhitespace/> <trimTrailingWhitespace/>
<endWithNewline/> <endWithNewline/>
<indent> <indent>
<tabs>true</tabs> <spaces>true</spaces> <!-- or <tabs>true</tabs> -->
<spacesPerTab>4</spacesPerTab> <spacesPerTab>4</spacesPerTab> <!-- optional, default is 4 -->
</indent> </indent>
</format> </format>
</formats> </formats>

View File

@ -130,6 +130,9 @@ javadoc {
// To apply changes directly to the file, run `gradlew spotlessApply` // To apply changes directly to the file, run `gradlew spotlessApply`
// Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle // Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle
spotless { spotless {
// comment out below to run spotless as part of the `check` task
enforceCheck false
format 'misc', { format 'misc', {
// define the files (e.g. '*.gradle', '*.md') to apply `misc` to // define the files (e.g. '*.gradle', '*.md') to apply `misc` to
target '.gitignore' target '.gitignore'

View File

@ -199,8 +199,8 @@
<trimTrailingWhitespace/> <trimTrailingWhitespace/>
<endWithNewline/> <endWithNewline/>
<indent> <indent>
<tabs>true</tabs> <spaces>true</spaces> <!-- or <tabs>true</tabs> -->
<spacesPerTab>4</spacesPerTab> <spacesPerTab>4</spacesPerTab> <!-- optional, default is 4 -->
</indent> </indent>
</format> </format>
</formats> </formats>

View File

@ -129,6 +129,9 @@ javadoc {
// To apply changes directly to the file, run `gradlew spotlessApply` // To apply changes directly to the file, run `gradlew spotlessApply`
// Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle // Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle
spotless { spotless {
// comment out below to run spotless as part of the `check` task
enforceCheck false
format 'misc', { format 'misc', {
// define the files (e.g. '*.gradle', '*.md') to apply `misc` to // define the files (e.g. '*.gradle', '*.md') to apply `misc` to
target '.gitignore' target '.gitignore'

View File

@ -199,8 +199,8 @@
<trimTrailingWhitespace/> <trimTrailingWhitespace/>
<endWithNewline/> <endWithNewline/>
<indent> <indent>
<tabs>true</tabs> <spaces>true</spaces> <!-- or <tabs>true</tabs> -->
<spacesPerTab>4</spacesPerTab> <spacesPerTab>4</spacesPerTab> <!-- optional, default is 4 -->
</indent> </indent>
</format> </format>
</formats> </formats>

View File

@ -129,6 +129,9 @@ javadoc {
// To apply changes directly to the file, run `gradlew spotlessApply` // To apply changes directly to the file, run `gradlew spotlessApply`
// Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle // Ref: https://github.com/diffplug/spotless/tree/main/plugin-gradle
spotless { spotless {
// comment out below to run spotless as part of the `check` task
enforceCheck false
format 'misc', { format 'misc', {
// define the files (e.g. '*.gradle', '*.md') to apply `misc` to // define the files (e.g. '*.gradle', '*.md') to apply `misc` to
target '.gitignore' target '.gitignore'

View File

@ -199,8 +199,8 @@
<trimTrailingWhitespace/> <trimTrailingWhitespace/>
<endWithNewline/> <endWithNewline/>
<indent> <indent>
<tabs>true</tabs> <spaces>true</spaces> <!-- or <tabs>true</tabs> -->
<spacesPerTab>4</spacesPerTab> <spacesPerTab>4</spacesPerTab> <!-- optional, default is 4 -->
</indent> </indent>
</format> </format>
</formats> </formats>