File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
1
class Mill < Formula
2
2
desc "Fast, scalable JVM build tool"
3
3
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"
6
5
sha256 "567a44bee9006ac943f8cbec18c38637c544144726cdc699aa4f3584ed52ae93"
7
6
license "MIT"
8
- revision 1
9
7
10
8
livecheck do
11
9
url "https://search.maven.org/remotecontent?filepath=com/lihaoyi/mill-dist/maven-metadata.xml"
@@ -16,12 +14,12 @@ class Mill < Formula
16
14
sha256 cellar : :any_skip_relocation , all : "56fc5b0defb92df981fa9e406356ed7138bb458cdfb00308c277f8d815c1219f"
17
15
end
18
16
19
- depends_on "openjdk@21 "
17
+ depends_on "openjdk"
20
18
21
19
def install
22
20
libexec . install Dir [ "*" ] . shift => "mill"
23
21
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
25
23
end
26
24
27
25
test do
You can’t perform that action at this time.
0 commit comments