Browse Source

Add Spotless step to check and block jUnit4 imports (#12398)

labbomb
Eric Gao 2 years ago committed by GitHub
parent
commit
c7e6e827bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      pom.xml

5
pom.xml

@ -659,6 +659,11 @@
<searchRegex>import\s+org\.powermock\.[^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
<replacement>$1</replacement>
</replaceRegex>
<replaceRegex>
<name>Block jUnit4 imports</name>
<searchRegex>import\s+org\.junit\.[^jupiter][^\*\s]*(|\*);(\r\n|\r|\n)</searchRegex>
<replacement>$1</replacement>
</replaceRegex>
</java>
<pom>
<sortPom>

Loading…
Cancel
Save