2014-11-14 01:26:06 +08:00
|
|
|
cask :v1 => 'intellij-idea' do
|
2014-11-17 00:33:21 +08:00
|
|
|
version '14.0.1'
|
|
|
|
sha256 'd2883c183b0dec1466c7b2bb3b105af48884da88c580207402a4b1a0d0c0a2d2'
|
2014-06-27 08:01:20 +08:00
|
|
|
|
2014-08-13 15:51:37 +08:00
|
|
|
url "http://download.jetbrains.com/idea/ideaIU-#{version}.dmg"
|
2014-06-27 08:01:20 +08:00
|
|
|
homepage 'https://www.jetbrains.com/idea/index.html'
|
2014-11-12 08:38:39 +08:00
|
|
|
license :commercial
|
2014-06-27 08:01:20 +08:00
|
|
|
|
2014-11-05 22:53:16 +08:00
|
|
|
app 'IntelliJ IDEA 14.app'
|
2014-07-25 23:38:59 +08:00
|
|
|
|
2014-09-09 20:55:27 +08:00
|
|
|
postflight do
|
2014-11-03 03:47:49 +08:00
|
|
|
plist_set(':JVMOptions:JVMVersion', '1.6+')
|
2014-07-25 23:38:59 +08:00
|
|
|
end
|
|
|
|
|
2014-10-22 18:16:41 +08:00
|
|
|
zap :delete => [
|
2014-11-05 22:53:16 +08:00
|
|
|
'~/Library/Application Support/IntelliJIdea14',
|
|
|
|
'~/Library/Preferences/IntelliJIdea14',
|
2014-10-22 18:16:41 +08:00
|
|
|
]
|
|
|
|
|
2014-10-04 21:56:28 +08:00
|
|
|
caveats <<-EOS.undent
|
2014-10-10 19:40:49 +08:00
|
|
|
#{title} may require Java 7 (an older version) available from the
|
2014-10-04 21:56:28 +08:00
|
|
|
caskroom-versions repository via
|
2014-05-26 22:01:41 +08:00
|
|
|
|
2014-10-04 21:56:28 +08:00
|
|
|
brew cask install caskroom/versions/java7
|
2014-05-26 22:01:41 +08:00
|
|
|
|
2014-10-10 19:40:49 +08:00
|
|
|
Alternatively, #{title} can be modified to use Java 8 as described in
|
2014-05-26 22:01:41 +08:00
|
|
|
|
2014-10-04 21:56:28 +08:00
|
|
|
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
|
|
|
|
EOS
|
2012-11-20 01:52:13 +08:00
|
|
|
end
|