android-platform-tools: use https, modernize
Closes Homebrew/homebrew#37573. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
3415f71ad2
commit
dab8a6c893
1 changed files with 6 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue