Skip to content

Commit

Permalink
ballerina 2201.0.0
Browse files Browse the repository at this point in the history
* Update Ballerina to latest 2201.0.0
* Update java version
* Update JDK 11 dependency

Closes #94400.

Signed-off-by: Sean Molenaar <1484494+SMillerDev@users.noreply.github.com>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
  • Loading branch information
keizer619 authored and BrewTestBot committed Feb 4, 2022
1 parent 40636ae commit 802fa8d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Formula/ballerina.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Ballerina < Formula
desc "Programming Language for Network Distributed Applications"
homepage "https://ballerina.io"
url "https://dist.ballerina.io/downloads/1.2.25/ballerina-1.2.25.zip"
sha256 "c06a9e1e61121398e5e0d28742f86308844a4769a6dbb8b52fcb1e1098c4e4d8"
url "https://dist.ballerina.io/downloads/2201.0.0/ballerina-2201.0.0-swan-lake.zip"
sha256 "213b7263dd4d610faed10702e64a22725410d7c285489a75fc81aaef34e2332e"
license "Apache-2.0"

livecheck do
Expand All @@ -14,7 +14,7 @@ class Ballerina < Formula
sha256 cellar: :any_skip_relocation, all: "0abb34e7a2f8481276cecd2ac6495edf2f4096a7172859bc5beedae0ffd423e6"
end

depends_on "openjdk@8"
depends_on "openjdk@11"

def install
# Remove Windows files
Expand All @@ -24,7 +24,7 @@ def install

bin.install "bin/bal"
libexec.install Dir["*"]
bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("1.8"))
bin.env_script_all_files(libexec/"bin", Language::Java.java_home_env("11"))
end

test do
Expand Down

0 comments on commit 802fa8d

Please sign in to comment.