2014-11-14 01:26:06 +08:00
|
|
|
cask :v1 => 'intellij-idea' do
|
2015-06-20 14:06:40 +08:00
|
|
|
version '14.1.4'
|
|
|
|
sha256 '211b8a146870bbf1ac20a0498a49863dbbc1f06989a4780c602ba115a9c0a943'
|
2014-06-27 08:01:20 +08:00
|
|
|
|
2015-06-29 14:32:18 +08:00
|
|
|
url "https://download.jetbrains.com/idea/ideaIU-#{version}.dmg"
|
2015-01-05 00:57:22 +08:00
|
|
|
name 'IntelliJ IDEA'
|
2014-12-25 01:39:26 +08:00
|
|
|
homepage 'https://www.jetbrains.com/idea/'
|
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-10-22 18:16:41 +08:00
|
|
|
zap :delete => [
|
2014-11-05 22:53:16 +08:00
|
|
|
'~/Library/Application Support/IntelliJIdea14',
|
|
|
|
'~/Library/Preferences/IntelliJIdea14',
|
2015-06-25 18:00:40 +08:00
|
|
|
'~/Library/Preferences/com.jetbrains.intellij.plist',
|
2014-10-22 18:16:41 +08:00
|
|
|
]
|
|
|
|
|
2014-10-04 21:56:28 +08:00
|
|
|
caveats <<-EOS.undent
|
2015-03-08 20:40:19 +08:00
|
|
|
#{token} requires Java 6 like any other IntelliJ-based IDE.
|
|
|
|
You can install it with
|
2014-05-26 22:01:41 +08:00
|
|
|
|
2015-03-08 20:40:19 +08:00
|
|
|
brew cask install caskroom/homebrew-versions/java6
|
2014-05-26 22:01:41 +08:00
|
|
|
|
2015-03-08 20:40:19 +08:00
|
|
|
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
|
2014-05-26 22:01:41 +08:00
|
|
|
|
2015-03-08 20:40:19 +08:00
|
|
|
To use existing newer Java at your own risk,
|
|
|
|
add JVMVersion=1.6+ to ~/Library/Preferences/IntelliJIdea14/idea.properties
|
2014-10-04 21:56:28 +08:00
|
|
|
EOS
|
2012-11-20 01:52:13 +08:00
|
|
|
end
|