diff --git a/.github/workflows/build_debug_apk.yml b/.github/workflows/build_debug_apk.yml
index d2d92e27424..fc47c4568bd 100644
--- a/.github/workflows/build_debug_apk.yml
+++ b/.github/workflows/build_debug_apk.yml
@@ -69,6 +69,9 @@ jobs:
with:
distribution: 'zulu'
java-version: 20
+ - uses: gradle/gradle-build-action@v2
+ with:
+ gradle-home-cache-cleanup: true
- run: ./gradlew spotlessCheck
send-notifications:
diff --git a/app/assets/appfilter.xml b/app/assets/appfilter.xml
index 673bf784484..8150b550d22 100644
--- a/app/assets/appfilter.xml
+++ b/app/assets/appfilter.xml
@@ -157,7 +157,7 @@
-
+
@@ -177,7 +177,7 @@
-
+
@@ -276,7 +276,7 @@
-
+
@@ -413,8 +413,8 @@
-
-
+
+
@@ -611,7 +611,7 @@
-
+
@@ -786,7 +786,7 @@
-
+
@@ -823,14 +823,14 @@
-
-
+
+
-
+
@@ -923,7 +923,7 @@
-
+
@@ -1106,7 +1106,7 @@
-
+
@@ -1186,7 +1186,7 @@
-
+
@@ -1277,7 +1277,7 @@
-
+
@@ -1387,7 +1387,7 @@
-
+
@@ -1411,7 +1411,7 @@
-
+
@@ -1421,7 +1421,7 @@
-
+
@@ -1475,7 +1475,7 @@
-
+
@@ -1621,7 +1621,7 @@
-
+
@@ -1744,7 +1744,7 @@
-
+
@@ -2017,7 +2017,7 @@
-
+
@@ -2130,7 +2130,7 @@
-
+
@@ -2139,7 +2139,7 @@
-
+
@@ -2418,7 +2418,7 @@
-
+
@@ -2464,7 +2464,7 @@
-
+
@@ -2505,7 +2505,7 @@
-
+
@@ -2519,7 +2519,7 @@
-
+
@@ -2652,14 +2652,14 @@
-
+
-
+
@@ -2792,7 +2792,7 @@
-
+
@@ -2826,13 +2826,13 @@
-
+
-
+
@@ -2843,8 +2843,8 @@
-
-
+
+
@@ -2859,7 +2859,7 @@
-
+
@@ -3018,7 +3018,7 @@
-
+
@@ -3079,7 +3079,7 @@
-
+
@@ -3648,7 +3648,7 @@
-
+
@@ -3799,7 +3799,7 @@
-
+
@@ -3861,7 +3861,7 @@
-
+
@@ -4607,7 +4607,7 @@
-
+
@@ -4680,7 +4680,7 @@
-
+
@@ -4726,7 +4726,7 @@
-
+
@@ -4747,7 +4747,7 @@
-
+
@@ -4800,7 +4800,7 @@
-
+
@@ -4860,7 +4860,7 @@
-
+
@@ -5086,8 +5086,8 @@
-
-
+
+
@@ -5125,7 +5125,7 @@
-
+
@@ -5228,7 +5228,7 @@
-
+
@@ -5658,11 +5658,11 @@
-
-
-
-
-
+
+
+
+
+
@@ -5677,7 +5677,7 @@
-
+
@@ -5703,7 +5703,7 @@
-
+
@@ -5785,4 +5785,4 @@
-
+
diff --git a/build.gradle.kts b/build.gradle.kts
index 13beaf542cf..c1bd3de37a1 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -1,4 +1,5 @@
import com.diffplug.gradle.spotless.SpotlessExtension
+import com.diffplug.spotless.extra.wtp.EclipseWtpFormatterStep
plugins {
id("com.android.application") version "8.1.1" apply false
@@ -14,6 +15,10 @@ plugins {
allprojects {
apply(plugin = "com.diffplug.spotless")
extensions.configure {
+ format("xml") {
+ eclipseWtp(EclipseWtpFormatterStep.XML).configFile("$rootDir/spotless.xml.prefs")
+ target("app/assets/appfilter.xml")
+ }
kotlin {
ktlint()
target("src/**/*.kt")
diff --git a/spotless.xml.prefs b/spotless.xml.prefs
new file mode 100644
index 00000000000..9ed4dd5cc96
--- /dev/null
+++ b/spotless.xml.prefs
@@ -0,0 +1,3 @@
+indentationChar=space
+indentationSize=2
+lineWidth=999