Oh I thought you meant changed from the previous run/commit
m
martynas
06/21/2018, 10:40 AM
Yeah, but it kinda would work the same in the end. Won’t it?
s
seb
06/21/2018, 10:48 AM
A baseline is manually generated, so on some level it would, but it’s a completely different in that you wouldn’t need to generate a baseline if the task was incremental (or you could filter only files changed from a certain commit/branch)
t
tapchicoma
06/21/2018, 2:33 PM
https://github.com/JLLeitschuh/ktlint-gradle supports tasks caching, so if your project enables it - then ktlint will run only on changed files, other task will be taken from Gradle cache