2014-02-26 20:53:07 +08:00
|
|
|
class IntellijIdea < Cask
|
2014-07-23 02:32:52 +08:00
|
|
|
version '13.1.4'
|
|
|
|
sha256 'be5ca65ab5b169ac66f47f02f49d5d9359935c9f56140327a32f9da555d845bb'
|
2014-06-27 08:01:20 +08:00
|
|
|
|
2014-07-23 02:49:12 +08:00
|
|
|
url "http://download-cf.jetbrains.com/idea/ideaIU-#{version}.dmg"
|
2014-06-27 08:01:20 +08:00
|
|
|
homepage 'https://www.jetbrains.com/idea/index.html'
|
|
|
|
|
2013-12-04 00:10:53 +08:00
|
|
|
link 'IntelliJ IDEA 13.app'
|
2014-07-25 23:38:59 +08:00
|
|
|
|
|
|
|
after_install do
|
|
|
|
system "/usr/libexec/PlistBuddy", "-c", "Set :JVMOptions:JVMVersion 1.6+", "#{destination_path}/IntelliJ IDEA 13.app/Contents/Info.plist"
|
|
|
|
end
|
|
|
|
|
2014-05-26 22:01:41 +08:00
|
|
|
caveats do
|
|
|
|
<<-EOS.undent
|
|
|
|
#{@cask} may require Java 7 (an older version) available from the
|
|
|
|
caskroom-versions repo via
|
|
|
|
|
|
|
|
brew cask install caskroom/versions/java7
|
|
|
|
|
|
|
|
Alternatively, #{@cask} can be modified to use Java 8 as described in
|
|
|
|
|
|
|
|
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932
|
|
|
|
|
|
|
|
EOS
|
|
|
|
end
|
2012-11-20 01:52:13 +08:00
|
|
|
end
|