Skip to content

Commit 9933e58

Browse files
authored
Merge pull request #433 from Yubico/dependabot/gradle/com.diffplug.spotless-spotless-plugin-gradle-8.0.0
Bump com.diffplug.spotless:spotless-plugin-gradle from 7.2.1 to 8.0.0
2 parents 0082879 + 2d64314 commit 9933e58

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

buildSrc/build.gradle.kts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ dependencies {
1414
implementation("io.franzbecker:gradle-lombok:5.0.0")
1515

1616
// Spotless dropped Java 8 support in version 2.33.0
17-
if (JavaVersion.current().isJava11Compatible) {
18-
implementation("com.diffplug.spotless:spotless-plugin-gradle:7.2.1")
17+
// spotless-plugin-gradle dropped Java <17 support in version 8.0.0
18+
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
19+
implementation("com.diffplug.spotless:spotless-plugin-gradle:8.0.0")
1920
implementation("io.github.cosmicsilence:gradle-scalafix:0.2.2")
2021
}
2122
}
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// Spotless dropped Java 8 support in version 2.33.0
2-
if (JavaVersion.current().isJava11Compatible) {
2+
// spotless-plugin-gradle dropped Java <17 support in version 8.0.0
3+
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
34
apply(plugin = "project-convention-code-formatting-internal")
45
}

0 commit comments

Comments
 (0)