```// version and style are optional spotless { ko...
# ktfmt
c
Copy code
// version and style are optional
spotless { kotlin { ktfmt('0.29').kotlinlangStyle() } }
From the ktfmt website ^ Does that mean that if I omit the ktfmt version, it will always use the latest?
j
I think no, it will use the latest hardcoded in spotless repository, if you create a PR with the latest version in the spotless repo, you will get it
Not sure if spotless to third integration to just find the latest version in maven so it is not hardcoded