mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-12 17:34:23 +01:00
Merge pull request #11346 from t895/ktlint-fix
android: lint: Delete generated ktlint folder between builds
This commit is contained in:
commit
a9f223cd9f
@ -160,6 +160,11 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.create<Delete>("ktlintReset") {
|
||||||
|
delete(File(buildDir.path + File.separator + "intermediates/ktLint"))
|
||||||
|
}
|
||||||
|
|
||||||
|
tasks.getByPath("loadKtlintReporters").dependsOn("ktlintReset")
|
||||||
tasks.getByPath("preBuild").dependsOn("ktlintCheck")
|
tasks.getByPath("preBuild").dependsOn("ktlintCheck")
|
||||||
|
|
||||||
ktlint {
|
ktlint {
|
||||||
|
Loading…
Reference in New Issue
Block a user