Skip to content

Instantly share code, notes, and snippets.

@cblunt
Last active August 29, 2015 14:10
Show Gist options
  • Save cblunt/8b816fa987bc8d6e9f26 to your computer and use it in GitHub Desktop.
Save cblunt/8b816fa987bc8d6e9f26 to your computer and use it in GitHub Desktop.
Gradle build file for Android app with volley
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.1"
defaultConfig {
applicationId "com.plymouthsoftware.android.volleyapp"
minSdkVersion 8
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_7
targetCompatibility JavaVersion.VERSION_1_7
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:21.0.2'
compile 'com.mcxiaoke.volley:library:1.0.+'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment