File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
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"
12
10
regex ( %r{<version>v?(\d +(?:\. \d +)+)</version>}i )
13
11
end
14
12
15
13
bottle do
16
- sha256 cellar : :any_skip_relocation , all : "56fc5b0defb92df981fa9e406356ed7138bb458cdfb00308c277f8d815c1219f "
14
+ sha256 cellar : :any_skip_relocation , all : "dae7e2a795434699b9f3a1f4349c83da49a34afbef678b79af64ca6e44d587e0 "
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