Skip to content

Commit

Permalink
Disable spotless by default
Browse files Browse the repository at this point in the history
Until they fix configuration caching issue, leading to even more issue with Gradle metadata verification.
  • Loading branch information
SimonMarquis authored Jan 26, 2025
1 parent 27f51da commit 60f7cfa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import com.diffplug.gradle.spotless.SpotlessExtension
import com.diffplug.gradle.spotless.SpotlessPlugin

plugins {
alias(libs.plugins.jvm) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.binaryCompatibilityValidator) apply false
alias(libs.plugins.spotless)
alias(libs.plugins.spotless) apply false
}

allprojects {
if (providers.gradleProperty("spotless").map(String::toBoolean).orNull != true) return@allprojects
apply<SpotlessPlugin>()
spotless {
extensions.configure<SpotlessExtension> {
val licenseHeader = rootProject.file("spotless/spotless.kt")
format("misc") {
target("**/*.md", "**/.gitignore")
Expand Down

0 comments on commit 60f7cfa

Please # to comment.