Add gradle parameter to skip formatKtLint and use in CI
This commit is contained in:
parent
12e46e0a36
commit
52cc3f10c1
2 changed files with 5 additions and 5 deletions
|
|
@ -165,7 +165,10 @@ task formatKtlint(type: JavaExec) {
|
|||
}
|
||||
|
||||
afterEvaluate {
|
||||
preDebugBuild.dependsOn formatKtlint, runCheckstyle, runKtlint
|
||||
if (!System.properties.containsKey('skipFormatKtlint')) {
|
||||
preDebugBuild.dependsOn formatKtlint
|
||||
}
|
||||
preDebugBuild.dependsOn runCheckstyle, runKtlint
|
||||
}
|
||||
|
||||
sonarqube {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue