Skip to content

Instantly share code, notes, and snippets.

@itsalif
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save itsalif/a48580584b3873433236 to your computer and use it in GitHub Desktop.
Save itsalif/a48580584b3873433236 to your computer and use it in GitHub Desktop.
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