We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cdef898 commit 319f8e1Copy full SHA for 319f8e1
app/build.gradle.kts
@@ -3,6 +3,7 @@ plugins {
3
application
4
checkstyle
5
jacoco
6
+ id("com.diffplug.spotless") version "6.12.0"
7
}
8
9
group = "hexlet.code"
@@ -31,4 +32,12 @@ tasks.test {
31
32
tasks.jacocoTestReport {
33
dependsOn(tasks.test) // tests are required to run before generating the report
34
reports { xml.required.set(true) }
35
+}
36
+spotless {
37
+ java {
38
+ removeUnusedImports()
39
+ googleJavaFormat("1.15.0")
40
+ .aosp()
41
+ .reflowLongStrings()
42
+ }
43
0 commit comments