diff --git a/generators/server/templates/build.gradle.ejs b/generators/server/templates/build.gradle.ejs index 679b5cdcba22..73d6e03e1cb9 100644 --- a/generators/server/templates/build.gradle.ejs +++ b/generators/server/templates/build.gradle.ejs @@ -66,7 +66,7 @@ apply from: "gradle/sonar.gradle" spotless { java { target 'src/*/java/**/*.java' - removeUnusedImports() + // removeUnusedImports() } } diff --git a/generators/server/templates/pom.xml.ejs b/generators/server/templates/pom.xml.ejs index 2d4b65ed4f52..7f75d5b18592 100644 --- a/generators/server/templates/pom.xml.ejs +++ b/generators/server/templates/pom.xml.ejs @@ -856,7 +856,7 @@ ${spotless-maven-plugin.version} - +