File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ 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) {
17+ // spotless-plugin-gradle dropped Java <17 support in version 8.0.0
18+ if (JavaVersion .current().isCompatibleWith(JavaVersion .VERSION_17 )) {
1819 implementation(" com.diffplug.spotless:spotless-plugin-gradle:8.0.0" )
1920 implementation(" io.github.cosmicsilence:gradle-scalafix:0.2.2" )
2021 }
Original file line number Diff line number Diff line change 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}
You can’t perform that action at this time.
0 commit comments