Skip to content

Commit ffc8c7d

Browse files
committed
mill 1.0.6
1 parent 3cf3ecd commit ffc8c7d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

Formula/m/mill.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
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"
@@ -16,12 +14,12 @@ class Mill < Formula
1614
sha256 cellar: :any_skip_relocation, all: "56fc5b0defb92df981fa9e406356ed7138bb458cdfb00308c277f8d815c1219f"
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)