|
@ -4,27 +4,23 @@ cask :v1 => 'intellij-idea-ce13' do |
|
|
|
|
|
|
|
|
url "http://download.jetbrains.com/idea/ideaIC-#{version}.dmg" |
|
|
url "http://download.jetbrains.com/idea/ideaIC-#{version}.dmg" |
|
|
homepage 'https://www.jetbrains.com/idea/index.html' |
|
|
homepage 'https://www.jetbrains.com/idea/index.html' |
|
|
license :oss |
|
|
license :apache |
|
|
|
|
|
|
|
|
app 'IntelliJ IDEA 13 CE.app' |
|
|
app 'IntelliJ IDEA 13 CE.app' |
|
|
|
|
|
|
|
|
postflight do |
|
|
|
|
|
plist_set(':JVMOptions:JVMVersion', '1.6+') |
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
zap :delete => [ |
|
|
zap :delete => [ |
|
|
'~/Library/Application Support/IntelliJIdea13', |
|
|
'~/Library/Application Support/IntelliJIdea13', |
|
|
'~/Library/Preferences/IntelliJIdea13', |
|
|
'~/Library/Preferences/IntelliJIdea13', |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
caveats <<-EOS.undent |
|
|
caveats <<-EOS.undent |
|
|
#{token} may require Java 7 (an older version), available from the |
|
|
#{token} requires Java 6 like any other IntelliJ-based IDE. |
|
|
caskroom-versions repository via |
|
|
You can install it with |
|
|
|
|
|
|
|
|
brew cask install caskroom/versions/java7 |
|
|
|
|
|
|
|
|
|
|
|
Alternatively, #{token} can be modified to use Java 8 as described in |
|
|
brew cask install caskroom/homebrew-versions/java6 |
|
|
|
|
|
|
|
|
https://github.com/caskroom/homebrew-cask/issues/4500#issuecomment-43955932 |
|
|
The vendor (JetBrains) doesn't support newer versions of Java (yet) |
|
|
|
|
|
due to several critical issues, see details at |
|
|
|
|
|
https://intellij-support.jetbrains.com/entries/27854363 |
|
|
EOS |
|
|
EOS |
|
|
end |
|
|
end |
|
|