Shubham Agarwal
06/20/2024, 7:41 AMgradle in our code base. I was away from participating in community discussion from 2 years. Planning to coming back to join discussion wherever possible. Definitely gradle is something which I am not good at and thus seeks you advice regarding this issue.
Execution failed for task ':app:pre*DebugAndroidTestBuild'.
> Cannot fingerprint input property 'compileVersionMap': value '{Info(group=com.google.dagger, module=dagger)=2.27,..., Info(group=com.facebook.flipper, module=flipper-network-plugin)=0.238.0, Info(group=com.facebook.flipper, module=flipper-leakcanary2-plugin)=0.238.0}' cannot be serialized.
Context: Was running a simple instrumented test and this happened.Shubham Agarwal
06/20/2024, 7:47 AMShubham Agarwal
06/20/2024, 8:19 AMConflict with dependency '...' in project ':app'. Resolved versions for app (A.B.C) and test app (X.Y.Z) differ.
This doesn't look the case for me.
e.g. https://discuss.gradle.org/t/please-help-i-have-this-error/27311/2Shubham Agarwal
06/20/2024, 9:25 AMCaused by: org.gradle.internal.snapshot.ValueSnapshottingException: Could not serialize value of type Info
Caused by: java.io.NotSerializableException: <http://com.android.build.gradle.internal.tasks.Info|com.android.build.gradle.internal.tasks.Info>Shubham Agarwal
07/13/2024, 8:06 AMgradle.taskGraph.whenReady { graph ->
graph.allTasks.findAll { it.name ==~ /.*Test.*/ }*.enabled = true
}