Closed
Description
Hi everyone I use
gradle
spotless version 3.26.1
operating system : Mac
My build.grudge.kts like :
plugins {
id("com.diffplug.gradle.spotless") version "3.26.1"
}
--------------------------------------------------------
spotless {
scala {
scalafmt("2.7.0").configFile(rootProject.file(".scalafmt.conf"))
}
}
if I want to check the Spotless I need to run ./grudlew spotlessCheck and then spotlessApply to fix the code
Is there any possibility to run the spotlessApply every time when we Build the project