File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -83,10 +83,13 @@ repositories {
83
83
// Spotless checks will be added as PRs are applied to resolve each style issue is approved.
84
84
spotless {
85
85
java {
86
- // target fileTree('.') {
87
- // include '**/*.java', 'src/*/java/**/*.java'
88
- // exclude '**/build/**', '**/build-*/**'
89
- // }
86
+ target fileTree(' .' ) {
87
+ include ' core/src/main/java/org/opensearch/sql/monitor/*.java' ,
88
+ ' core/src/main/java/org/opensearch/sql/expression/*.java' ,
89
+ ' core/src/main/java/org/opensearch/sql/executor/*.java'
90
+ ' core/src/main/java/org/opensearch/sql/exception/*.java'
91
+ exclude ' **/build/**' , ' **/build-*/**'
92
+ }
90
93
// importOrder()
91
94
// licenseHeader("/*\n" +
92
95
// " * Copyright OpenSearch Contributors\n" +
@@ -95,7 +98,7 @@ spotless {
95
98
// removeUnusedImports()
96
99
// trimTrailingWhitespace()
97
100
// endWithNewline()
98
- // googleJavaFormat('1.17.0').reflowLongStrings().groupArtifact('com.google.googlejavaformat:google-java-format')
101
+ googleJavaFormat(' 1.17.0' ). reflowLongStrings(). groupArtifact(' com.google.googlejavaformat:google-java-format' )
99
102
}
100
103
}
101
104
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ repositories {
34
34
mavenCentral()
35
35
}
36
36
37
+ checkstyleTest. ignoreFailures = true
38
+ checkstyleMain. ignoreFailures = true
39
+
37
40
pitest {
38
41
targetClasses = [' org.opensearch.sql.*' ]
39
42
pitestVersion = ' 1.9.0'
You can’t perform that action at this time.
0 commit comments