cask :v1 => 'intellij-idea-eap' do version '141.1192.2' sha256 '3a31b5883c6a0c10667cd896c99fec723d4f862e9378ce64ee4b8634ebed3c82' url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg" homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+14.1+EAP' license :commercial app 'IntelliJ IDEA 14 EAP.app' postflight do plist_set(':JVMOptions:JVMVersion', '1.6+') end zap :delete => [ '~/Library/Application Support/IntelliJIdea14', '~/Library/Preferences/IntelliJIdea14', ] end