Skip to content

Commit

Permalink
Fix for ktlintFormat
Browse files Browse the repository at this point in the history
Upstream dependencies of ktlint need to be updated, in the meantime this is a workaround.  See pinterest/ktlint#1391
  • Loading branch information
brownbearsoftware committed Mar 14, 2023
1 parent 0320f0c commit 5c088e6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,10 @@ ktlint {
allOpen {
annotations("javax.persistence.Entity")
}

tasks {
withType<JavaExec> {
jvmArgs!!.plus("--add-opens")
jvmArgs!!.plus("java.base/java.lang=ALL-UNNAMED")
}
}

0 comments on commit 5c088e6

Please sign in to comment.