Skip to content

Instantly share code, notes, and snippets.

@silmood
Created July 10, 2015 20:50
Show Gist options
  • Select an option

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

Select an option

Save silmood/fe001f52d409abe269e3 to your computer and use it in GitHub Desktop.
The-FM build.gradle
apply plugin: 'com.android.application'
apply plugin: 'me.tatarka.retrolambda'
def LAST_FM_API_KEY ='"' + LastFMApiKey + '"' ?: '"Define LastFm Api key"';
android {
compileSdkVersion 22
buildToolsVersion "22.0.1"
defaultConfig {
applicationId "com.platzi.silmood.the_fm"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
versionName "1.0"
}
buildTypes {
debug {
buildConfigField 'String', 'LAST_FM_API_KEY', LAST_FM_API_KEY
minifyEnabled true
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:appcompat-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.android.support:cardview-v7:22.2.0'
compile 'com.android.support:design:22.2.0'
compile 'com.squareup.retrofit:retrofit:1.9.0'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'io.reactivex:rxandroid:0.25.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment