Skip to content

Commit 0e8009a

Browse files
authored
Merge pull request #246968 from Homebrew/mill-1.0.6
mill 1.0.6
2 parents ac7c2b6 + 3c4f03c commit 0e8009a

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

Formula/m/mill.rb

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
class Mill < Formula
22
desc "Fast, scalable JVM build tool"
33
homepage "https://mill-build.org/"
4-
# TODO: Check if we can use `openjdk` 25+ when bumping the version.
5-
url "https://search.maven.org/remotecontent?filepath=com/lihaoyi/mill-dist/0.12.11/mill-dist-0.12.11.jar"
4+
url "https://search.maven.org/remotecontent?filepath=com/lihaoyi/mill-dist/1.0.6/mill-dist-1.0.6.exe"
65
sha256 "567a44bee9006ac943f8cbec18c38637c544144726cdc699aa4f3584ed52ae93"
76
license "MIT"
8-
revision 1
97

108
livecheck do
119
url "https://search.maven.org/remotecontent?filepath=com/lihaoyi/mill-dist/maven-metadata.xml"
1210
regex(%r{<version>v?(\d+(?:\.\d+)+)</version>}i)
1311
end
1412

1513
bottle do
16-
sha256 cellar: :any_skip_relocation, all: "56fc5b0defb92df981fa9e406356ed7138bb458cdfb00308c277f8d815c1219f"
14+
sha256 cellar: :any_skip_relocation, all: "dae7e2a795434699b9f3a1f4349c83da49a34afbef678b79af64ca6e44d587e0"
1715
end
1816

19-
depends_on "openjdk@21"
17+
depends_on "openjdk"
2018

2119
def install
2220
libexec.install Dir["*"].shift => "mill"
2321
chmod 0555, libexec/"mill"
24-
(bin/"mill").write_env_script libexec/"mill", Language::Java.overridable_java_home_env("21")
22+
(bin/"mill").write_env_script libexec/"mill", Language::Java.overridable_java_home_env
2523
end
2624

2725
test do

0 commit comments

Comments
 (0)