Skip to content

Commit 09acfdd

Browse files
Add version 17.5.17
1 parent 71235dd commit 09acfdd

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://artifact.api.platform.here.com/v1/references/hrn:here:artifact:::com.here.platform:cli:17.5.6/maps-cli-17.5.6.tar.gz\?apiKey\=84q8N9DRx6YAqyJaXUpr9fhiTnCUIBzvHLpk3QU4Oaw"
4-
sha256 "eb690a7cd4432174663fb9136adc8b0967295e92a0834b907cb025d1193c30ff"
5-
version "17.5.6"
3+
url "https://artifact.api.platform.here.com/v1/references/hrn:here:artifact:::com.here.platform:cli:17.5.17/maps-cli-17.5.17.tar.gz\?apiKey\=84q8N9DRx6YAqyJaXUpr9fhiTnCUIBzvHLpk3QU4Oaw"
4+
sha256 "d7cc637680895b76291ff00aeb909ea231eaec7e0b1cc34245e6ea52df68c1bf"
5+
version "17.5.17"
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.12-17.5.6.jar"
13+
libexec.install "cli_2.12-17.5.17.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.12-17.5.6.jar" "com.here.platform.cli.MapsMain" "$@"
24+
exec "${JAVA_HOME}/bin/java" ${ALLOW_DEEP_REFLECTION:-} -Dfile.encoding=UTF8 -cp "#{libexec}/cli_2.12-17.5.17.jar" "com.here.platform.cli.MapsMain" "$@"
2525
EOS
2626
end
2727

0 commit comments

Comments
 (0)