Skip to content

Instantly share code, notes, and snippets.

@itsalif

itsalif/gradle-android

Last active Aug 29, 2015
Embed
What would you like to do?
Android gradle premade (for myself reference)
apply plugin: 'android'
android {
compileSdkVersion 19
buildToolsVersion "19.0.3"
defaultConfig {
packageName "some-package-name"
minSdkVersion 8
targetSdkVersion 19
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:19.+'
compile('org.simpleframework:simple-xml:2.7.+'){
exclude module: 'stax'
exclude module: 'stax-api'
exclude module: 'xpp3'
}
compile 'com.mcxiaoke.volley:library-aar:1.0.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment