From fceeca37f2b565bf8daf7b2756946fc6d068235d Mon Sep 17 00:00:00 2001 From: Tsvetan Dimitrov Date: Tue, 1 Oct 2024 12:08:21 +0300 Subject: [PATCH] chore: disable running spotlessCheck after compilation phase --- gradle/lint.gradle | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) 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) +// } +// } +// } +//}