cask "eclipse-jee" do arch arm: "aarch64", intel: "x86_64" version "4.33.0,2024-09" sha256 arm: "8fb905dd622ec5b2a312dbe4be20b14e3047fce00dcad8e28b405207673f3292", intel: "a2f3ec39eca8ceb8cd425fef276ed8978283e1320fb8caf86a05f61d0640259f" url "https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/#{version.csv.second}/R/eclipse-jee-#{version.csv.second}-R-macosx-cocoa-#{arch}.dmg&mirror_id=1" name "Eclipse IDE for Java EE Developers" desc "Eclipse IDE for Java EE developers" homepage "https://eclipse.org/" livecheck do cask "eclipse-ide" end # Renamed to avoid conflict with other Eclipse. app "Eclipse.app", target: "Eclipse JEE.app" zap trash: [ "~/Library/Caches/org.eclipse.platform.ide", "~/Library/Cookies/org.eclipse.platform.ide.binarycookies", "~/Library/Preferences/org.eclipse.platform.ide.plist", "~/Library/Saved Application State/org.eclipse.platform.ide.savedState", ] caveats do depends_on_java end end