Unable to resolve TaskResult if 'transitive=false'
Closed this issue · 3 comments
ebernie commented
This file will be unavailable com.androidhuman.rxfirebase.common.model.TaskResult. Browsed my project's dependency library and indeed, it wasn't there.
Removing 'transitive = false' seems to resolve it. What's the reason behind the flag anyway?
kunny commented
TL;DR
Adding compile com.androidhuman.rxfirebase:common:{version}
as a dependency will resolve your problem.
For example:
compile ('com.androidhuman.rxfirebase:common:10.1.0') {
transitive = false
}
compile ('com.androidhuman.rxfirebase:firebase-auth:10.1.0') {
transitive = false
}
Setting up dependency was poorly documented in the readme.
I have added transitive = true
to avoid requiring jitpack as a repository URL since RetroOptional
depends on it.
I'll update the readme soon.