Run checkstyle before tests and fix import order rule
This commit is contained in:
parent
2114b2d729
commit
ec35ab8ec9
|
@ -52,9 +52,9 @@ task checkstyleAndroidTest(type: Checkstyle) {
|
|||
}
|
||||
|
||||
check.configure {
|
||||
finalizedBy(checkstyleMain)
|
||||
// finalizedBy(checkstyleTest)
|
||||
// finalizedBy(checkstyleAndroidTest)
|
||||
dependsOn(checkstyleMain)
|
||||
// dependsOn(checkstyleTest)
|
||||
// dependsOn(checkstyleAndroidTest)
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
@ -190,7 +190,7 @@
|
|||
</module>
|
||||
<module name="CustomImportOrder">
|
||||
<property name="customImportOrderRules"
|
||||
value="STATIC###STANDARD_JAVA_PACKAGE###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE"/>
|
||||
value="STATIC###SPECIAL_IMPORTS###THIRD_PARTY_PACKAGE###STANDARD_JAVA_PACKAGE"/>
|
||||
<property name="sortImportsInGroupAlphabetically" value="true"/>
|
||||
<property name="separateLineBetweenGroups" value="true"/>
|
||||
</module>
|
||||
|
|
Loading…
Reference in New Issue