Skip to content

Commit

Permalink
Stop using explicit JDK version in brew dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
bitspittle committed Mar 27, 2024
1 parent 659cac8 commit 1f5e5af
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions kobweb/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ if (githubUsername != null && githubToken != null) {
brew {
active.set(Active.RELEASE)
templateDirectory.set(File("jreleaser/templates/brew"))
// The following changes the line `depends_on "openjdk@11"` to `depends_on "openjdk"
// See also: https://jreleaser.org/guide/latest/reference/packagers/homebrew.html#_jdk_dependency
extraProperties.put("useVersionedJava", false)
}
scoop {
active.set(Active.RELEASE)
Expand Down

0 comments on commit 1f5e5af

Please sign in to comment.