Skip to content

Instantly share code, notes, and snippets.

@cdsap
Created November 22, 2015 18:14
Show Gist options
  • Save cdsap/341e2292ad37ebe91e40 to your computer and use it in GitHub Desktop.
Save cdsap/341e2292ad37ebe91e40 to your computer and use it in GitHub Desktop.
Simple build gradle config
apply plugin: 'com.android.application'
android {
compileSdkVersion 23
buildToolsVersion "23.0.2"
defaultConfig {
applicationId "com.example.inaki.myapplication"
minSdkVersion 15
targetSdkVersion 23
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
androidTestCompile 'com.android.support.test:runner:0.4.1'
androidTestCompile 'com.android.support.test:rules:0.4.1'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment