cask 'intellij-idea-ce-eap' do
  version '143.1183.10'
  sha256 '8f9597e732ed7e169d21026c73e5da4ac841fcf44f1c98250bb44fd317169753'

  url "https://download.jetbrains.com/idea/ideaIC-#{version}-custom-jdk-bundled.dmg"
  name 'IntelliJ IDEA EAP :: CE'
  homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+15+EAP'
  license :apache

  app 'IntelliJ IDEA 15 CE EAP.app'

  zap :delete => [
		  '~/Library/Preferences/com.jetbrains.intellij.plist',
                  '~/Library/Application Support/IdeaIC15',
                  '~/Library/Preferences/IdeaIC15',
                  '~/Library/Caches/IdeaIC15',
                  '~/Library/Logs/IdeaIC15',
                 ]
end

cask 'intellij-idea-ce-eap' do
  version '144.2608.2'
  sha256 '21d2fd409de9924d04a235bf5343033a52d84658fdf96e16d6aab377beab0fea'

  url "https://download.jetbrains.com/idea/ideaIC-#{version}.dmg"
  name 'IntelliJ IDEA EAP :: CE'
  homepage 'https://confluence.jetbrains.com/display/IDEADEV/IDEA+16+EAP'
  license :apache

  app 'IntelliJ IDEA 16 CE EAP.app'

  zap :delete => [
                  '~/Library/Application Support/IdeaIC16',
                  '~/Library/Caches/IdeaIC16',
                  '~/Library/Logs/IdeaIC16',
                  '~/Library/Preferences/com.jetbrains.intellij.ce.plist',
                  '~/Library/Preferences/IdeaIC16',
                  '~/Library/Saved Application State/com.jetbrains.intellij.ce.savedState',
                 ]
end

Upgrade IntelliJ IDEA CE EAP to 144.2608.2
Upgrade IntelliJ IDEA CE EAP to 144.2608.2
