This plugin offers simple code refactoring and analysis tools, perfect for those working on Java Gradle applications outside of IntelliJ IDEA. No more missing the magic of <C-A-l> or dealing with ineffective LSP :Format.
- Configuration: You can adjust the configuration and modify task names as needed:
tasks.register("format") {
it.dependsOn("spotlessApply")
}
tasks.register("analyze") {
it.dependsOn("checkstyleMain")
}- Push to Local Maven Repository:
gradle publishToMavenLocal
- Integrate in Your Project:
buildscript {
repositories {
mavenLocal()
}
dependencies {
classpath 'com.simple:simple-formatter:0.0.2'
}
}
apply plugin: 'com.simple.simple-formatter'