Skip to content

Instantly share code, notes, and snippets.

@paulfranco
Last active September 28, 2019 15:23
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 paulfranco/8c59646f79586a15da2d0c39ad152372 to your computer and use it in GitHub Desktop.
Save paulfranco/8c59646f79586a15da2d0c39ad152372 to your computer and use it in GitHub Desktop.
// project > build.gradle
//inside dependencies
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.1.0-alpha05"
// app > build.gradle
// Plugins
apply plugin: 'kotlin-kapt'
apply plugin: "androidx.navigation.safeargs"
// Inside the android block
dataBinding.enabled = true
// Variables
def lifeCycleExtensionVersion = '1.1.1'
def supportVersion = '28.0.0'
def retrofitVersion = '2.3.0'
def glideVersion = '4.9.0'
def rxJavaVersion = '2.1.1'
def roomVersion = '2.1.0-rc01'
def navVersion = '2.1.0-alpha05'
def preferencesVersion = '1.0.0'
// Dependencies
implementation "com.android.support:design:$supportVersion"
implementation "android.arch.lifecycle:extensions:$lifeCycleExtensionVersion"
implementation "androidx.room:room-runtime:$roomVersion"
implementation "androidx.legacy:legacy-support-v4:1.0.0"
kapt "androidx.room:room-compiler:$roomVersion"
implementation "androidx.room:room-ktx:$roomVersion"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1"
implementation "androidx.navigation:navigation-fragment-ktx:$navVersion"
implementation "androidx.navigation:navigation-ui-ktx:$navVersion"
implementation "com.google.android.material:material:1.0.0"
implementation "com.squareup.retrofit2:retrofit:$retrofitVersion"
implementation "com.squareup.retrofit2:converter-gson:$retrofitVersion"
implementation "com.squareup.retrofit2:adapter-rxjava2:$retrofitVersion"
implementation "io.reactivex.rxjava2:rxjava:$rxJavaVersion"
implementation "io.reactivex.rxjava2:rxandroid:$rxJavaVersion"
implementation "com.github.bumptech.glide:glide:$glideVersion"
implementation "com.android.support:palette-v7:$supportVersion"
implementation "androidx.preference:preference:$preferencesVersion"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment