Javier
12/24/2020, 4:35 PMgradlew build
run check and/or format tasks?gammax
12/24/2020, 4:36 PMbuild
will run the check
task, that will subsequently call all the ktfmtCheck
task.Javier
12/24/2020, 4:38 PMgradlew build
fix the format automatically. I don’t know if could be interesting to have a flag about this in ktfmt
block 🤔
afterEvaluate {
tasks.getByName("ktfmtCheck").dependsOn(tasks.getByName("ktfmtFormat"))
}
gammax
12/24/2020, 4:40 PMreformatAll
task to reformat everythingbuild
task.