Skip to content

Commit

Permalink
Java 17 workaround until diffplug/spotless#1304 gets merged
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Jan 28, 2023
1 parent 583a45e commit 8978b00
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/resources/spotless/freshmark.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ spotless {
ratchetFrom null
}
}
// until this gets merged https://github.com/diffplug/spotless/pull/1304
tasks.named('spotlessFreshmark') {
if (JavaVersion.current().isJava12Compatible()) {
enabled = false
}
}

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

0 comments on commit 8978b00

Please sign in to comment.