Skip to content

Commit

Permalink
Change task execution order to have Lint & Findbugs at the end. (#76)
Browse files Browse the repository at this point in the history
  • Loading branch information
vanniktech committed Aug 1, 2017
1 parent 2a28910 commit ba8cc1f
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ class CodeQualityToolsPlugin implements Plugin<Project> {
// Reason for checking again in each add method: Unit Tests (they can't handle afterEvaluate properly)
addPmd(subProject, rootProject, extension)
addCheckstyle(subProject, rootProject, extension)
addFindbugs(subProject, rootProject, extension)
addLint(subProject, extension)
addKtlint(subProject, extension)
addCpd(subProject, extension)

Expand All @@ -85,6 +83,10 @@ class CodeQualityToolsPlugin implements Plugin<Project> {
resolutionStrategy.force "com.google.errorprone:error_prone_core:${extension.errorProne.toolVersion}"
}
}

// Those static code tools take the longest hence we'll add them at the end.
addLint(subProject, extension)
addFindbugs(subProject, rootProject, extension)
}
}
}
Expand Down

0 comments on commit ba8cc1f

Please sign in to comment.