cask :v1 => 'appcode-eap' do
  version '142.4675.7'
  sha256 '88e430d88eaef3dd0870d4821cffcaf34f4d8552b1f112dc5100bda9afe424d3'

  url "https://download.jetbrains.com/objc/AppCode-#{version}-custom-jdk-bundled.dmg"
  name 'AppCode'
  homepage 'https://confluence.jetbrains.com/display/OBJC/AppCode+EAP'
  license :commercial

  app 'AppCode EAP.app'

  zap :delete => [
                  '~/Library/Preferences/com.jetbrains.AppCode-EAP.plist',
                  '~/Library/Preferences/AppCode33',
                  '~/Library/Application Support/AppCode33',
                  '~/Library/Caches/AppCode33',
                  '~/Library/Logs/AppCode33',
                 ]

  conflicts_with :cask => 'appcode-eap-bundled-jdk'
end

cask :v1 => 'appcode-eap' do
  version '142.4675.7'
  sha256 '88e430d88eaef3dd0870d4821cffcaf34f4d8552b1f112dc5100bda9afe424d3'

  url "https://download.jetbrains.com/objc/AppCode-#{version}-custom-jdk-bundled.dmg"
  name 'AppCode'
  homepage 'https://confluence.jetbrains.com/display/OBJC/AppCode+EAP'
  license :commercial

  app 'AppCode EAP.app'

  zap :delete => [
                  '~/Library/Preferences/com.jetbrains.AppCode-EAP.plist',
                  '~/Library/Preferences/AppCode33',
                  '~/Library/Application Support/AppCode33',
                  '~/Library/Caches/AppCode33',
                  '~/Library/Logs/AppCode33',
                 ]
end

Remove conflicts_with from AppCode EAP
Remove conflicts_with from AppCode EAP

There is no longer a bundled JDK cask