diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-22 17:30:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 17:30:01 +0200 |
commit | a9f223cd9f2733e208938187fdab6e4e655e3b80 (patch) | |
tree | b37c31164d210bc71d15dd1fdc8601face277331 | |
parent | android: Show associated value in home settings (#11272) (diff) | |
parent | android: lint: Delete generated ktlint folder between builds (diff) | |
download | yuzu-a9f223cd9f2733e208938187fdab6e4e655e3b80.tar yuzu-a9f223cd9f2733e208938187fdab6e4e655e3b80.tar.gz yuzu-a9f223cd9f2733e208938187fdab6e4e655e3b80.tar.bz2 yuzu-a9f223cd9f2733e208938187fdab6e4e655e3b80.tar.lz yuzu-a9f223cd9f2733e208938187fdab6e4e655e3b80.tar.xz yuzu-a9f223cd9f2733e208938187fdab6e4e655e3b80.tar.zst yuzu-a9f223cd9f2733e208938187fdab6e4e655e3b80.zip |
-rw-r--r-- | src/android/app/build.gradle.kts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/android/app/build.gradle.kts b/src/android/app/build.gradle.kts index 9a47e2bd8..a8db70511 100644 --- a/src/android/app/build.gradle.kts +++ b/src/android/app/build.gradle.kts @@ -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") ktlint { |