Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .circleci/config.continue.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,7 @@ jobs:
-PgitBaseRef=origin/{{ pr_base_ref }}
{% endif %}
-PrunBuildSrcTests
-PskipSpotless
-PtaskPartitionCount=${CIRCLE_NODE_TOTAL} -PtaskPartition=${CIRCLE_NODE_INDEX}
<< pipeline.parameters.gradle_flags >>
--max-workers=8
Expand Down
7 changes: 7 additions & 0 deletions gradle/spotless.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@ def configPath = rootProject.hasProperty('sharedConfigDirectory') ? sharedConfig
boolean groovySkipJavaExclude = project.hasProperty('groovySkipJavaExclude') ? groovySkipJavaExclude : false

spotless {

if (rootProject.hasProperty('skipSpotless')) {
// Spotless in JDK 8 uses an older eclipse formatter, and it has a (flaky) bug crashing check_profiling.
// We disable it in CI, since we have a job dedicated to spotless anyway.
enforceCheck false
}

if (project.plugins.hasPlugin('java')) {
java {
toggleOffOn()
Expand Down
Loading