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'])
}

posted @ 2015-12-04 09:18  lianhuaren  阅读(378)  评论(0编辑  收藏  举报