Skip to content
This repository was archived by the owner on Jun 17, 2024. It is now read-only.

add deprecation notice to casks #540

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions Casks/adoptopenjdk-jre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.16.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
12 changes: 12 additions & 0 deletions Casks/adoptopenjdk-openj9-jre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.16-openj9.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
12 changes: 12 additions & 0 deletions Casks/adoptopenjdk-openj9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.16-openj9.jdk"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
12 changes: 12 additions & 0 deletions Casks/adoptopenjdk11-jre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.11.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
2 changes: 1 addition & 1 deletion Casks/adoptopenjdk11-openj9-jre-large.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
end

uninstall pkgutil: "net.adoptopenjdk.11-openj9.jre"

caveats do
discontinued

Expand Down
12 changes: 12 additions & 0 deletions Casks/adoptopenjdk11-openj9-jre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.11-openj9.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
12 changes: 12 additions & 0 deletions Casks/adoptopenjdk11-openj9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.11-openj9.jdk"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
20 changes: 16 additions & 4 deletions Casks/adoptopenjdk11.rb
Original file line number Diff line number Diff line change
@@ -1,21 +1,33 @@
# PLEASE DO NOT EDIT THIS FILE. EDIT Templates/adoptopenjdk.rb.tmpl
cask "adoptopenjdk11" do
version "11.0.11,9"
sha256 "9a20441ff21c6aa2ebb6287f712e6c647d7b66f55ac23bdfb5e891f25efab1b7"
version "11.0.12,7"
sha256 "14d3bcab539cee1f757849984b6ab330fdf6b2caf7ed7067607c075f7f5d0a62"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-11.0.11%2B9/OpenJDK11U-jdk_x64_mac_hotspot_11.0.11_9.pkg",
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_mac_hotspot_11.0.12_7.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 11"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
homepage "https://adoptopenjdk.net/"

pkg "OpenJDK11U-jdk_x64_mac_hotspot_11.0.11_9.pkg"
pkg "OpenJDK11U-jdk_x64_mac_hotspot_11.0.12_7.pkg"

postflight do
system_command "/usr/sbin/pkgutil", args: ["--pkg-info", "net.adoptopenjdk.11.jdk"], print_stdout: true
end

uninstall pkgutil: "net.adoptopenjdk.11.jdk"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
17 changes: 15 additions & 2 deletions Casks/adoptopenjdk13-jre.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# PLEASE DO NOT EDIT THIS FILE. EDIT Templates/adoptopenjdk.rb.tmpl
cask "adoptopenjdk13-jre" do
version "13.0.2,8"
version "13.0.2,8.1"
sha256 "06f4f7a1d968e600c134ccc245627d58b1c220086e27408fa0acdaad5d8c7a06"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.2%2B8/OpenJDK13U-jre_x64_mac_hotspot_13.0.2_8.pkg"
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-13.0.2%2B8/OpenJDK13U-jre_x64_mac_hotspot_13.0.2_8.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 13 (JRE)"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
Expand All @@ -17,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.13.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
17 changes: 15 additions & 2 deletions Casks/adoptopenjdk13-openj9-jre.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# PLEASE DO NOT EDIT THIS FILE. EDIT Templates/adoptopenjdk.rb.tmpl
cask "adoptopenjdk13-openj9-jre" do
version "13.0.2,8"
version "13.0.2,8.1"
sha256 "ff2fe1bf9356e94e7cd3bd8af070d41a64c8349ea8e03158c512b29e9ba6c6bf"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.2%2B8_openj9-0.18.0/OpenJDK13U-jre_x64_mac_openj9_13.0.2_8_openj9-0.18.0.pkg"
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-13.0.2%2B8_openj9-0.18.0/OpenJDK13U-jre_x64_mac_openj9_13.0.2_8_openj9-0.18.0.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 13 (OpenJ9) (JRE)"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
Expand All @@ -17,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.13-openj9.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
17 changes: 15 additions & 2 deletions Casks/adoptopenjdk13-openj9.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# PLEASE DO NOT EDIT THIS FILE. EDIT Templates/adoptopenjdk.rb.tmpl
cask "adoptopenjdk13-openj9" do
version "13.0.2,8"
version "13.0.2,8.1"
sha256 "898ee58905a332f15678c6f687652d062954f8b77fad6f427df19614f49ce418"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.2%2B8_openj9-0.18.0/OpenJDK13U-jdk_x64_mac_openj9_13.0.2_8_openj9-0.18.0.pkg"
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-13.0.2%2B8_openj9-0.18.0/OpenJDK13U-jdk_x64_mac_openj9_13.0.2_8_openj9-0.18.0.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 13 (OpenJ9)"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
Expand All @@ -17,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.13-openj9.jdk"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
17 changes: 15 additions & 2 deletions Casks/adoptopenjdk13.rb
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# PLEASE DO NOT EDIT THIS FILE. EDIT Templates/adoptopenjdk.rb.tmpl
cask "adoptopenjdk13" do
version "13.0.2,8"
version "13.0.2,8.1"
sha256 "7b60830e61a0483ee81ed6ca6463e211a529e43b1f3815a57c2e3780ce4ba0ba"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk13-binaries/releases/download/jdk-13.0.2%2B8/OpenJDK13U-jdk_x64_mac_hotspot_13.0.2_8.pkg"
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-13.0.2%2B8/OpenJDK13U-jdk_x64_mac_hotspot_13.0.2_8.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 13"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
Expand All @@ -17,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.13.jdk"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
15 changes: 14 additions & 1 deletion Casks/adoptopenjdk14-jre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
sha256 "6e645faff5a7d2aa748b16a1af0e904a5ff2ee9fb1849bfffe132ee56a6b7567"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14.0.2%2B12/OpenJDK14U-jre_x64_mac_hotspot_14.0.2_12.pkg"
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-14.0.2%2B12/OpenJDK14U-jre_x64_mac_hotspot_14.0.2_12.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 14 (JRE)"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
Expand All @@ -17,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.14.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
15 changes: 14 additions & 1 deletion Casks/adoptopenjdk14-openj9-jre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
sha256 "5e7a2770592b1f6d6138d6ed020b487f508b1562f30c6ba789cda836726bba51"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14.0.2%2B12_openj9-0.21.0/OpenJDK14U-jre_x64_mac_openj9_14.0.2_12_openj9-0.21.0.pkg"
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-14.0.2%2B12_openj9-0.21.0/OpenJDK14U-jre_x64_mac_openj9_14.0.2_12_openj9-0.21.0.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 14 (OpenJ9) (JRE)"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
Expand All @@ -17,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.14-openj9.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
15 changes: 14 additions & 1 deletion Casks/adoptopenjdk14-openj9.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
sha256 "8aad7e930d34244489a10149a4346cecd8484ca7f440f7916bb9ec1e43275c2b"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14.0.2%2B12_openj9-0.21.0/OpenJDK14U-jdk_x64_mac_openj9_14.0.2_12_openj9-0.21.0.pkg"
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-14.0.2%2B12_openj9-0.21.0/OpenJDK14U-jdk_x64_mac_openj9_14.0.2_12_openj9-0.21.0.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 14 (OpenJ9)"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
Expand All @@ -17,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.14-openj9.jdk"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
15 changes: 14 additions & 1 deletion Casks/adoptopenjdk14.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
sha256 "9a5d065b47f98632fc9398d3d84086658af3cf8c1297ca1aa576db95918bca4d"

# github.com/AdoptOpenJDK was verified as official when first introduced to the cask
url "https://github.com/AdoptOpenJDK/openjdk14-binaries/releases/download/jdk-14.0.2%2B12/OpenJDK14U-jdk_x64_mac_hotspot_14.0.2_12.pkg"
url "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/download/jdk-14.0.2%2B12/OpenJDK14U-jdk_x64_mac_hotspot_14.0.2_12.pkg",
verified: "https://github.com/AdoptOpenJDK"
appcast "https://github.com/AdoptOpenJDK/openjdk#{version.major}-binaries/releases/latest"
name "AdoptOpenJDK 14"
desc "AdoptOpenJDK OpenJDK (Java) Development Kit"
Expand All @@ -17,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.14.jdk"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
12 changes: 12 additions & 0 deletions Casks/adoptopenjdk15-jre.rb
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,16 @@
end

uninstall pkgutil: "net.adoptopenjdk.15.jre"

caveats do
discontinued

<<~EOS
Temurin is the official successor to this software:

brew install --cask temurin

See https://github.com/AdoptOpenJDK/homebrew-openjdk/issues/537 for more information.
EOS
end
end
Loading