Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Workaround Spotless config cache
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbanes committed Jul 26, 2023
1 parent b6d4d22 commit 62e1811
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
package app.tivi.gradle

import com.diffplug.gradle.spotless.SpotlessExtension
import com.diffplug.spotless.LineEnding
import org.gradle.api.Project
import org.gradle.kotlin.dsl.configure

Expand All @@ -20,6 +21,9 @@ fun Project.configureSpotless() {
}

spotless {
// Workaround for https://github.com/diffplug/spotless/issues/1644
lineEndings = LineEnding.PLATFORM_NATIVE

kotlin {
target("src/**/*.kt")
ktlint(ktlintVersion)
Expand Down

0 comments on commit 62e1811

Please sign in to comment.