diff --git a/gradle/lint.gradle b/gradle/lint.gradle index ab40eaa829..77095eb414 100644 --- a/gradle/lint.gradle +++ b/gradle/lint.gradle @@ -81,13 +81,14 @@ task checkSpdxHeader(type: CheckSpdxHeader) { tasks.check.dependsOn(checkSpdxHeader) -allprojects { - afterEvaluate { - def spotless = tasks.named('spotlessCheck') - tasks.withType(JavaCompile).tap { - configureEach { - finalizedBy(spotless, checkSpdxHeader) - } - } - } -} +// Enable running spotlessCheck after code compilation. +//allprojects { +// afterEvaluate { +// def spotless = tasks.named('spotlessCheck') +// tasks.withType(JavaCompile).tap { +// configureEach { +// finalizedBy(spotless, checkSpdxHeader) +// } +// } +// } +//}