31 lines
882 B
Ruby
31 lines
882 B
Ruby
cask :v1 => 'intellij-idea' do
|
|
version '14.0.1'
|
|
sha256 'd2883c183b0dec1466c7b2bb3b105af48884da88c580207402a4b1a0d0c0a2d2'
|
|
|
|
url "http://download.jetbrains.com/idea/ideaIU-#{version}.dmg"
|
|
homepage 'https://www.jetbrains.com/idea/index.html'
|
|
license :commercial
|
|
|
|
app 'IntelliJ IDEA 14.app'
|
|
|
|
postflight do
|
|
plist_set(':JVMOptions:JVMVersion', '1.6+')
|
|
end
|
|
|
|
zap :delete => [
|
|
'~/Library/Application Support/IntelliJIdea14',
|
|
'~/Library/Preferences/IntelliJIdea14',
|
|
]
|
|
|
|
caveats <<-EOS.undent
|
|
#{title} may require Java 7 (an older version) available from the
|
|
caskroom-versions repository via
|
|
|
|
brew cask install caskroom/versions/java7
|
|
|
|
Alternatively, #{title} can be modified to use Java 8 as described in
|
|
|
|
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
|
|
EOS
|
|
end
|