codinginflow / MVVMTodo

187 stars 124 forks source link

typo in build.grade #9

Open Dreablin opened 3 years ago

Dreablin commented 3 years ago
// Lifecycle + ViewModel & LiveData
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$lifecycleVersion"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$lifecycleVersion"
implementation "android.lifecycle:lifecycle-common-java8:$lifecycleVersion"

Should be androidx in the last line? I have compile time error without it: Execution failed for task ':app:dataBindingMergeDependencyArtifactsDebug'.

Could not resolve all files for configuration ':app:debugCompileClasspath'. Could not find android.lifecycle:lifecycle-common-java8:2.3.1.

shashankdaima commented 3 years ago

Yes you are correct.