mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-10-15 07:27:40 +00:00
Add gradle parameter to skip formatKtLint and use in CI
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user