Skip to content

Commit

Permalink
Update Spotless Gradle plugin to 7.0.0.BETA1 (#3844)
Browse files Browse the repository at this point in the history
... and remove workarounds
  • Loading branch information
marcphilipp authored Jun 5, 2024
1 parent 1e29d8e commit e0bc222
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ gradle-foojayResolver = { module = "org.gradle.toolchains:foojay-resolver", vers
gradle-develocity = { module = "com.gradle:develocity-gradle-plugin", version = "3.17.3" }
gradle-bnd = { module = "biz.aQute.bnd:biz.aQute.bnd.gradle", version.ref = "bnd" }
gradle-shadow = { module = "com.github.johnrengelman:shadow", version = "8.1.1" }
gradle-spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "6.25.0" }
gradle-spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "7.0.0.BETA1" }
gradle-versions = { module = "com.github.ben-manes:gradle-versions-plugin", version.ref = "gradleVersionsPlugin" }
groovy4 = { module = "org.apache.groovy:groovy", version = "4.0.21" }
groovy2-bom = { module = "org.codehaus.groovy:groovy-bom", version = "2.5.21" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
import com.diffplug.gradle.spotless.SpotlessApply
import com.diffplug.gradle.spotless.SpotlessCheck
import com.diffplug.spotless.LineEnding

plugins {
id("com.diffplug.spotless")
}
Expand Down Expand Up @@ -51,16 +47,4 @@ spotless {
endWithNewline()
}
}

// https://github.com/diffplug/spotless/issues/1644
lineEndings = LineEnding.UNIX // or any other except GIT_ATTRIBUTES
}

tasks {
withType<SpotlessApply>().configureEach {
notCompatibleWithConfigurationCache("https://github.com/diffplug/spotless/issues/644")
}
withType<SpotlessCheck>().configureEach {
notCompatibleWithConfigurationCache("https://github.com/diffplug/spotless/issues/644")
}
}

0 comments on commit e0bc222

Please sign in to comment.