File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -422,6 +422,7 @@ jobs:
422
422
-PgitBaseRef=origin/{{ pr_base_ref }}
423
423
{% endif %}
424
424
-PrunBuildSrcTests
425
+ -PskipSpotless
425
426
-PtaskPartitionCount=${CIRCLE_NODE_TOTAL} -PtaskPartition=${CIRCLE_NODE_INDEX}
426
427
<< pipeline.parameters.gradle_flags >>
427
428
--max-workers=8
Original file line number Diff line number Diff line change @@ -6,6 +6,13 @@ def configPath = rootProject.hasProperty('sharedConfigDirectory') ? sharedConfig
6
6
boolean groovySkipJavaExclude = project. hasProperty(' groovySkipJavaExclude' ) ? groovySkipJavaExclude : false
7
7
8
8
spotless {
9
+
10
+ if (rootProject. hasProperty(' skipSpotless' )) {
11
+ // Spotless in JDK 8 uses an older eclipse formatter, and it has a (flaky) bug crashing check_profiling.
12
+ // We disable it in CI, since we have a job dedicated to spotless anyway.
13
+ enforceCheck false
14
+ }
15
+
9
16
if (project. plugins. hasPlugin(' java' )) {
10
17
java {
11
18
toggleOffOn()
You can’t perform that action at this time.
0 commit comments