diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml
index ae78c113f..af8871a7b 100644
--- a/.idea/codeStyles/Project.xml
+++ b/.idea/codeStyles/Project.xml
@@ -1,3 +1,19 @@
+
+
@@ -110,4 +126,4 @@
-
\ No newline at end of file
+
diff --git a/build.gradle.kts b/build.gradle.kts
index bafd85c4e..cc4d7876a 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -16,12 +16,12 @@ plugins {
alias(libs.plugins.spotless) apply false
}
-subprojects {
+allprojects {
apply(plugin = "com.diffplug.spotless")
extensions.configure {
kotlin {
target("**/*.kt")
- targetExclude("**/build/**/*.kt")
+ targetExclude("**/build/**/*.kt", "spotless/**/*.kt")
val disabledRules = arrayOf(
// These rules were introduced in ktlint 0.46.0 and should not be
@@ -91,7 +91,7 @@ subprojects {
}
format("xml") {
target("**/*.xml")
- targetExclude("**/build/**/*.xml")
+ targetExclude("**/build/**/*.xml", "spotless/**/*.xml")
// Look for the root tag or a tag that is a snippet
licenseHeaderFile(rootProject.file("spotless/copyright.xml"), "(<[a-zA-Z])|(