File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,10 +83,13 @@ repositories {
8383// Spotless checks will be added as PRs are applied to resolve each style issue is approved.
8484spotless {
8585 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+ }
9093// importOrder()
9194// licenseHeader("/*\n" +
9295// " * Copyright OpenSearch Contributors\n" +
@@ -95,7 +98,7 @@ spotless {
9598// removeUnusedImports()
9699// trimTrailingWhitespace()
97100// 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' )
99102 }
100103}
101104
Original file line number Diff line number Diff line change @@ -34,6 +34,9 @@ repositories {
3434 mavenCentral()
3535}
3636
37+ checkstyleTest. ignoreFailures = true
38+ checkstyleMain. ignoreFailures = true
39+
3740pitest {
3841 targetClasses = [' org.opensearch.sql.*' ]
3942 pitestVersion = ' 1.9.0'
You can’t perform that action at this time.
0 commit comments