brew gradle
cat /usr/local/Library/Taps/homebrew/homebrew-versions/gradle221.rb
GRADLE_HOME=/Users/temp/gradle221
export PATH=$PATH:$GRADLE_HOME/bin
apply plugin: 'com.android.application'
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.example.lasting.listviewdemo"
minSdkVersion 18
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
}