Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Dependencies declared in order to use WorkManager
dependencies {
def work_version = "2.0.1"
// (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 - 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