homebrew-cask-versions/Casks/android-studio.rb
Tsuharesu bff785ca6d Android Studio 1.0
Updating Android Studio to 1.0 stable and removing postflight task.

As I said on this Pull Request https://github.com/caskroom/homebrew-versions/pull/595 , Android Studio can be set to use JDK other than 6.
The postflight task was causing trouble for Android Studio to auto update.
So, it's better to users to change if needed and still have auto update working.

Using caveats to inform user about how to change the JDK
2014-12-10 22:35:48 +00:00

18 lines
657 B
Ruby

cask :v1 => 'android-studio' do
version '1.0.0'
sha256 '0b580495e13e638c90fe1708e6a5d7cdf75df3f7447a9542af9d87af875891de'
url "https://dl.google.com/dl/android/studio/install/#{version}/android-studio-ide-135.1629389.dmg"
homepage 'https://developer.android.com/sdk/index.html'
license :apache
app 'Android Studio.app'
caveats <<-EOS.undent
If you have Java 7 or above installed, you may want to use it as Android Studio JDK, for example:
export STUDIO_JDK=/Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk
Please take a look at this post: http://tools.android.com/recent/androidstudio1rc3_releasecandidate3released
EOS
end