summaryrefslogtreecommitdiffstats
path: root/src/android/app
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2023-08-22 17:30:01 +0200
committerGitHub <noreply@github.com>2023-08-22 17:30:01 +0200
commita9f223cd9f2733e208938187fdab6e4e655e3b80 (patch)
treeb37c31164d210bc71d15dd1fdc8601face277331 /src/android/app
parentandroid: Show associated value in home settings (#11272) (diff)
parentandroid: lint: Delete generated ktlint folder between builds (diff)
downloadyuzu-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
Diffstat (limited to 'src/android/app')
-rw-r--r--src/android/app/build.gradle.kts5
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 {