Skip to content

Instantly share code, notes, and snippets.

@MehulKK
Created December 4, 2019 09:25
Show Gist options
  • Save MehulKK/2fc07be2c18e76a8ded974c2f1e1baa6 to your computer and use it in GitHub Desktop.
Save MehulKK/2fc07be2c18e76a8ded974c2f1e1baa6 to your computer and use it in GitHub Desktop.
dependencies {
def work_version = "2.2.0"
// (Java only)
implementation "androidx.work:work-runtime:$work_version"
// Kotlin + coroutines
implementation "androidx.work:work-runtime-ktx:$work_version"
// optional - RxJava2 support
implementation "androidx.work:work-rxjava2:$work_version"
// optional - GCMNetworkManager support
implementation "androidx.work:work-gcm:$work_version"
// optional - Test helpers
androidTestImplementation "androidx.work:work-testing:$work_version"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment