Skip to content

Commit

Permalink
build.gradle: use constant to refer to configure Eclipse WTP formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
bwRavencl committed Apr 9, 2024
1 parent 94d52de commit 6c619b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
import com.github.spotbugs.snom.Confidence
import com.github.spotbugs.snom.Effort
import com.github.spotbugs.snom.SpotBugsTask
Expand Down Expand Up @@ -263,7 +264,7 @@ spotless {
}
format 'xml', {
target "$resourcesDir/**/*.svg".toString()
eclipseWtp 'xml'
eclipseWtp EclipseWtpFormatterStep.XML
}
format 'newlineAndTrailingWhitespace', {
target '.github/**/*.yml', "$resourcesDir/**/*.properties", "$resourcesDir/**/*.svg".toString()
Expand Down

0 comments on commit 6c619b2

Please sign in to comment.