Skip to content

Instantly share code, notes, and snippets.

@skyisle
Last active December 29, 2015 14:39
Show Gist options
  • Save skyisle/7685821 to your computer and use it in GitHub Desktop.
Save skyisle/7685821 to your computer and use it in GitHub Desktop.
Default build.gradle file
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:0.6.+'
}
}
apply plugin: 'android'
repositories {
mavenCentral()
}
android {
compileSdkVersion 19
buildToolsVersion "19.0.0"
defaultConfig {
minSdkVersion 7
targetSdkVersion 19
}
buildTypes {
release {
runProguard false
proguardFile getDefaultProguardFile('proguard-android-optimize.txt')
}
}
productFlavors {
defaultFlavor {
proguardFile 'proguard-rules.txt'
}
}
}
dependencies {
compile 'com.android.support:appcompat-v7:+'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment