From 059b56e2995401ae3d0d8e3d9dce4ddde3ce3f88 Mon Sep 17 00:00:00 2001 From: VishnuSanal Date: Wed, 17 Jul 2024 18:07:15 +0530 Subject: [PATCH] xml spotless init --- build.gradle | 5 +++++ spotless.xml.prefs | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 spotless.xml.prefs diff --git a/build.gradle b/build.gradle index 3dfb816a..f8ffb404 100644 --- a/build.gradle +++ b/build.gradle @@ -47,4 +47,9 @@ spotless { indentWithSpaces() endWithNewline() } + + format 'xml', { + target 'app/src/main/res/values*/strings.xml' + eclipseWtp('xml').configFile('spotless.xml.prefs') + } } \ No newline at end of file diff --git a/spotless.xml.prefs b/spotless.xml.prefs new file mode 100644 index 00000000..b201e383 --- /dev/null +++ b/spotless.xml.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +indentationChar=space +indentationSize=4 +lineWidth=1024 \ No newline at end of file