Skip to content

Instantly share code, notes, and snippets.

@silmood
Last active August 29, 2015 14:19
Show Gist options
  • Select an option

  • Save silmood/1953433374417bf40db7 to your computer and use it in GitHub Desktop.

Select an option

Save silmood/1953433374417bf40db7 to your computer and use it in GitHub Desktop.
Base Imports for every android app.
apply plugin: 'me.tatarka.retrolambda'
apply plugin: 'com.android.application'
android {
compileSdkVersion 21
buildToolsVersion "21.1.2"
defaultConfig {
applicationId "com.render.prestigos"
minSdkVersion 14
targetSdkVersion 21
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:recyclerview-v7:+'
compile 'com.android.support:cardview-v7:21.0.+'
compile 'com.mobsandgeeks:android-saripaar:1.0.3'
compile 'com.android.support:appcompat-v7:22.0.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.jakewharton:butterknife:6.1.0'
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'me.tatarka:gradle-retrolambda:3.0.1'
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment