Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 17 additions & 1 deletion .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ plugins {
alias(libs.plugins.spotless) apply false
}

subprojects {
allprojects {
apply(plugin = "com.diffplug.spotless")
extensions.configure<com.diffplug.gradle.spotless.SpotlessExtension> {
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
Expand Down Expand Up @@ -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])|(<!--\\s+(//\\s*)?\\[START)").skipLinesMatching(".*START.*")
}
Expand Down