aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViktor Szakáts2015-03-10 15:55:05 +0100
committerMike McQuaid2015-03-11 07:44:00 +0000
commit00cd353d08f2d1d80aafc6460d7586a182e5fa6f (patch)
tree1d3c869f494aa5e2c0228ec60fd1e5020c55c66b
parent074012a831a8d8d7bfd69d3fefb5a089e97add45 (diff)
downloadhomebrew-00cd353d08f2d1d80aafc6460d7586a182e5fa6f.tar.bz2
android-platform-tools: use https, modernize
Closes #37573. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
-rw-r--r--Library/Formula/android-platform-tools.rb14
1 files changed, 6 insertions, 8 deletions
diff --git a/Library/Formula/android-platform-tools.rb b/Library/Formula/android-platform-tools.rb
index a2c4a3df2..e7eb0444a 100644
--- a/Library/Formula/android-platform-tools.rb
+++ b/Library/Formula/android-platform-tools.rb
@@ -1,14 +1,12 @@
-require "formula"
-
class AndroidPlatformTools < Formula
- homepage "http://developer.android.com/sdk"
+ homepage "https://developer.android.com/sdk"
# the url is from:
- # http://dl-ssl.google.com/android/repository/repository-8.xml
- url "http://dl-ssl.google.com/android/repository/platform-tools_r21-macosx.zip"
- version '21.0.0'
- sha1 "6675f9f583841972c5c5ef8d2c131e1209529fde"
+ # https://dl.google.com/android/repository/repository-8.xml
+ url "https://dl.google.com/android/repository/platform-tools_r21-macosx.zip"
+ version "21.0.0"
+ sha256 "30ae8724da3db772a776d616b4746516f24ae81330e84315a7ce0c49e0b0b3cb"
- conflicts_with 'android-sdk',
+ conflicts_with "android-sdk",
:because => "the Android Platform-tools are part of the Android SDK"
def install