class AndroidPlatformTools < Formula desc "Tools for the Android SDK" homepage "https://developer.android.com/sdk" # the url is from: # https://dl.google.com/android/repository/repository-12.xml url "https://dl.google.com/android/repository/platform-tools_r25-macosx.zip" version "25" sha256 "33030a8ecbc419fcd80b01d274e7869417524b1f06b005a0f6d9a7f69e95ebec" bottle :unneeded depends_on :macos => :mountain_lion conflicts_with "android-sdk", :because => "the Android Platform-tools are part of the Android SDK" def install bin.install "adb", "fastboot" end test do system bin/"fastboot --version" system bin/"adb version" end end