Skip to content

Commit

Permalink
disable spotless plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
melowe committed Dec 2, 2020
1 parent cef17c9 commit a910315
Showing 1 changed file with 20 additions and 19 deletions.
39 changes: 20 additions & 19 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "org.owasp.dependencycheck" version "6.0.3"
id "jacoco"
id "com.diffplug.gradle.spotless" version "3.25.0"
// id "com.diffplug.gradle.spotless" version "5.8.2"
id "com.github.ben-manes.versions" version "0.8"
id "checkstyle"
id "org.javamodularity.moduleplugin" version "1.7.0"
Expand Down Expand Up @@ -151,7 +151,7 @@ allprojects {
subprojects {

apply plugin: "java-library"
apply plugin: "com.diffplug.gradle.spotless"
// apply plugin: "com.diffplug.gradle.spotless"
apply plugin: "maven-publish"
apply plugin: "jacoco"
apply plugin: "checkstyle"
Expand Down Expand Up @@ -246,22 +246,22 @@ subprojects {
toolVersion = "0.8.5"
}

spotless {

lineEndings = "unix"

java {
target fileTree("**/*.java")
// indentWithSpaces(4)
removeUnusedImports()
// googleJavaFormat().aosp()
}
groovyGradle {
target "*.gradle"
indentWithSpaces(4)
paddedCell()
}
}
// spotless {
//
// lineEndings = "unix"
//
// java {
// target fileTree("**/*.java")
// // indentWithSpaces(4)
// removeUnusedImports()
// // googleJavaFormat().aosp()
// }
// groovyGradle {
// target "*.gradle"
// indentWithSpaces(4)
// paddedCell()
// }
// }
jacocoTestReport {
reports {
xml.enabled false
Expand Down Expand Up @@ -445,7 +445,8 @@ subprojects {
}

jacocoTestCoverageVerification.dependsOn jacocoTestReport
check.dependsOn checkstyleMain, checkstyleTest, spotlessCheck, jacocoTestCoverageVerification
check.dependsOn checkstyleMain, checkstyleTest, jacocoTestCoverageVerification
//spotlessCheck

}

Expand Down

0 comments on commit a910315

Please sign in to comment.