I've seen lots of mentions of using the idea
plugin for Gradle to configure IntelliJ's code formatting, but I can't find any examples of what this would look like. I gather it would involve modifying the XML of IntelliJ's config files directly, but I can't find any examples of that either. Anyone have an example, or an explanation of how I can determine what's needed for this?
plugins {
id 'idea'
}
idea {
project {
jdkName = "1.8"
languageLevel = "1.8"
targetBytecodeVersion = JavaVersion.VERSION_1_8
// Now What? How do I control code formatting?
}
}