Mercurial equivalent for ratchetFrom
Aperta
enhancement
- Lingua principale
- Java
- Stelle
- 5.6k
- Fork
- 559
- Merge medio
- 1g 13h
- PR unite (30g)
- 34
Descrizione
We have a large Kotlin project where we use spotless.
However, it is pretty slow. I came across the ratchetFrom property but seems like it is only for Git.
How can I make spotless run on just modified files to make the build faster?
- Gradle
- spotless version - 6.23.3
- operating system and version - Mac OSX 14.4.1
configure {
kotlin {
target("**/*.kt", "**/*.kts")
targetExclude("$buildDir/**/*", "**/build/**/*", "**/node_modules/**/*")
ktfmt(findProperty("cbrKtfmtVersion")!! as String)
}
}
tasks.getByName("build") {
group = "build"
dependsOn("spotlessApply")
}
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.