Skip to content

Commit a88fdda

Browse files
Add version 18.0.11
1 parent f75dc2f commit a88fdda

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Formula/maps.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
class Maps < Formula
22
desc "With the Command Line Interface you can access HERE Map Making service from a command line or with scripts."
3-
url "https://github.com/heremaps/homebrew-map-making-cli/releases/download/17.5.44/maps_cli_2.13-17.5.44.tar.gz"
4-
sha256 "bc47d6fb92d64bd80610753a67e9dc67b916d047c68999fd96b561fae9545b9d"
5-
version "17.5.44"
3+
url "https://github.com/heremaps/homebrew-map-making-cli/releases/download/18.0.11/maps_cli_2.13-18.0.11.tar.gz"
4+
sha256 "483cc29e478ed4fe1bcb02caf127ea25d06480bf4bd8f926a0343dee72c12be1"
5+
version "18.0.11"
66
license "Proprietary"
77

88
depends_on "openjdk@17"
99

1010
def install
1111
prefix.install "HERE_NOTICE"
1212
prefix.install "LICENSE"
13-
libexec.install "cli_2.13-17.5.44.jar"
13+
libexec.install "cli_2.13-18.0.11.jar"
1414
# There are two versions of variables: build time and runtime
1515
# JAVA_VERSION, ALLOW_DEEP_REFLECTION, 2 and @ needs to be preserved during build time by using $ instead of $
1616
(bin/"maps").write <<~EOS
@@ -21,7 +21,7 @@ def install
2121
if ! [[ "$JAVA_VERSION" =~ ^1"."+ ]]; then
2222
ALLOW_DEEP_REFLECTION="--add-opens java.base/java.lang=ALL-UNNAMED --add-opens=java.base/sun.security.util=ALL-UNNAMED"
2323
fi
24-
exec "${JAVA_HOME}/bin/java" ${ALLOW_DEEP_REFLECTION:-} -Dfile.encoding=UTF8 -cp "#{libexec}/cli_2.13-17.5.44.jar" "com.here.platform.cli.MapsMain" "$@"
24+
exec "${JAVA_HOME}/bin/java" ${ALLOW_DEEP_REFLECTION:-} -Dfile.encoding=UTF8 -cp "#{libexec}/cli_2.13-18.0.11.jar" "com.here.platform.cli.MapsMain" "$@"
2525
EOS
2626
end
2727

0 commit comments

Comments
 (0)