Skip to content

Commit 8978b00

Browse files
committed
Java 17 workaround until diffplug/spotless#1304 gets merged
1 parent 583a45e commit 8978b00

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/main/resources/spotless/freshmark.gradle

+6
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ spotless {
3535
ratchetFrom null
3636
}
3737
}
38+
// until this gets merged https://github.com/diffplug/spotless/pull/1304
39+
tasks.named('spotlessFreshmark') {
40+
if (JavaVersion.current().isJava12Compatible()) {
41+
enabled = false
42+
}
43+
}
3844

3945
// if spotlessChangelog was applied to this project, use that to
4046
// reformat the markdown files after the changelog has been bumped

0 commit comments

Comments
 (0)