Run checkstyle before tests and fix import order rule

This commit is contained in:
Paul Schaub 2019-03-28 01:45:38 +01:00
parent 2114b2d729
commit ec35ab8ec9
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
2 changed files with 4 additions and 4 deletions

View File

@ -52,9 +52,9 @@ task checkstyleAndroidTest(type: Checkstyle) {
}
check.configure {
finalizedBy(checkstyleMain)
// finalizedBy(checkstyleTest)
// finalizedBy(checkstyleAndroidTest)
dependsOn(checkstyleMain)
// dependsOn(checkstyleTest)
// dependsOn(checkstyleAndroidTest)
}
dependencies {

View File

@ -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>