The official Kotlin documentation states:
Add
kotlin.code.style=official
property to the gradle.properties file at the project root.
I'm trying to understand how kotlin-gradle-plugin handles this property.
Which gradle task uses it?
When running gradle build
, I don't see my code being reformatted, even if I format my code badly on purpose.
I went through the Github source code of the plugin but couldn't properly get to understand it.
Thanks for your help.
gradle.properties
, as this file will be in version control anyhow. – Gibber