File tree Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Expand file tree Collapse file tree 2 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ plugins {
54
54
id ' lifecycle-base'
55
55
id ' opensearch.docker-support'
56
56
id ' opensearch.global-build-info'
57
- id " com.diffplug.spotless" version " 6.25 .0" apply false
57
+ id " com.diffplug.spotless" version " 7.1 .0" apply false
58
58
id " org.gradle.test-retry" version " 1.6.2" apply false
59
59
id " test-report-aggregation"
60
60
id ' jacoco-report-aggregation'
Original file line number Diff line number Diff line change @@ -85,13 +85,7 @@ allprojects {
85
85
eclipse(). withP2Mirrors(Map . of(" https://download.eclipse.org/" , " https://mirror.umd.edu/eclipse/" )). configFile rootProject. file(' buildSrc/formatterConfig.xml' )
86
86
trimTrailingWhitespace()
87
87
endWithNewline()
88
-
89
- custom ' Refuse wildcard imports' , {
90
- // Wildcard imports can't be resolved; fail the build
91
- if (it =~ / \s +import .*\* ;/ ) {
92
- throw new AssertionError (" Do not use wildcard imports. 'spotlessApply' cannot resolve this issue." )
93
- }
94
- }
88
+ removeWildcardImports()
95
89
96
90
// See DEVELOPER_GUIDE.md for details of when to enable this.
97
91
if (System . getProperty(' spotless.paddedcell' ) != null ) {
You can’t perform that action at this time.
0 commit comments