android / android-test

An extensive framework for testing Android apps
https://android.github.io/android-test
Apache License 2.0
1.16k stars 314 forks source link

Cannot fingerprint input property 'compileVersionMap': value '...' cannot be serialized. #2241

Closed mwshubham closed 4 months ago

mwshubham commented 4 months ago

Description

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.

Steps to Reproduce

During running a instrumented test on code base with high single digit modules. Facing this build issue.

Expected Results

Process to be start and test should be complete

Actual Results

Build failure issue.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:preLoggedEternoProdRegularDebugAndroidTestBuild'.
> Cannot fingerprint input property 'compileVersionMap': value '{Info(group=com.google.dagger, module=dagger)=2.27, Info(group=javax.inject, module=javax.inject)=1, Info(group=com.google.firebase, module=firebase-messaging)=24.0.0, Info(group=com.google.firebase, module=firebase-common)=21.0.0, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-play-services)=1.7.3, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-core)=1.7.3, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-core-jvm)=1.7.3, Info(group=org.jetbrains, module=annotations)=23.0.0, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-bom)=1.7.3, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-android)=1.7.3, Info(group=org.jetbrains.kotlin, module=kotlin-stdlib-jdk8)=1.8.22, Info(group=org.jetbrains.kotlin, module=kotlin-stdlib)=1.8.22, Info(group=org.jetbrains.kotlin, module=kotlin-stdlib-common)=1.8.22, Info(group=org.jetbrains.kotlin, module=kotlin-stdlib-jdk7)=1.8.22, Info(group=com.google.android.gms, module=play-services-tasks)=18.1.0, Info(group=com.google.android.gms, module=play-services-basement)=18.3.0, Info(group=androidx.collection, module=collection)=1.1.0, Info(group=androidx.annotation, module=annotation)=1.6.0, Info(group=androidx.annotation, module=annotation-jvm)=1.6.0, Info(group=androidx.core, module=core)=1.9.0, Info(group=androidx.annotation, module=annotation-experimental)=1.3.0, Info(group=androidx.concurrent, module=concurrent-futures)=1.1.0, Info(group=androidx.lifecycle, module=lifecycle-runtime)=2.5.1, Info(group=androidx.arch.core, module=core-common)=2.1.0, Info(group=androidx.arch.core, module=core-runtime)=2.1.0, Info(group=androidx.lifecycle, module=lifecycle-common)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-common-java8)=2.5.1, Info(group=androidx.versionedparcelable, module=versionedparcelable)=1.1.1, Info(group=androidx.core, module=core-ktx)=1.9.0, Info(group=androidx.fragment, module=fragment)=1.3.6, Info(group=androidx.viewpager, module=viewpager)=1.0.0, Info(group=androidx.customview, module=customview)=1.1.0, Info(group=androidx.loader, module=loader)=1.0.0, Info(group=androidx.lifecycle, module=lifecycle-livedata)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-livedata-core)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-viewmodel)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-viewmodel-savedstate)=2.5.1, Info(group=androidx.savedstate, module=savedstate)=1.2.0, Info(group=androidx.activity, module=activity)=1.2.4, Info(group=androidx.tracing, module=tracing)=1.0.0, Info(group=com.google.firebase, module=firebase-components)=18.0.0, Info(group=com.google.firebase, module=firebase-annotations)=16.2.0, Info(group=com.google.errorprone, module=error_prone_annotations)=2.26.0, Info(group=com.google.firebase, module=firebase-common-ktx)=21.0.0, Info(group=com.google.firebase, module=firebase-datatransport)=18.2.0, Info(group=com.google.android.datatransport, module=transport-api)=3.1.0, Info(group=com.google.android.datatransport, module=transport-runtime)=3.1.9, Info(group=com.google.firebase, module=firebase-encoders)=17.0.0, Info(group=com.google.firebase, module=firebase-encoders-proto)=16.0.0, Info(group=com.google.android.datatransport, module=transport-backend-cct)=3.1.9, Info(group=com.google.firebase, module=firebase-encoders-json)=18.0.1, Info(group=com.google.firebase, module=firebase-iid-interop)=17.1.0, Info(group=com.google.firebase, module=firebase-installations)=18.0.0, Info(group=com.google.firebase, module=firebase-installations-interop)=17.1.1, Info(group=com.google.firebase, module=firebase-measurement-connector)=20.0.1, Info(group=com.google.android.gms, module=play-services-base)=18.0.1, Info(group=com.google.android.gms, module=play-services-cloud-messaging)=17.2.0, Info(group=com.google.android.gms, module=play-services-stats)=17.0.2, Info(group=androidx.legacy, module=legacy-support-core-utils)=1.0.0, Info(group=androidx.documentfile, module=documentfile)=1.0.0, Info(group=androidx.localbroadcastmanager, module=localbroadcastmanager)=1.0.0, Info(group=androidx.print, module=print)=1.0.0, Info(group=com.squareup.retrofit2, module=converter-gson)=2.9.0, Info(group=com.squareup.retrofit2, module=retrofit)=2.9.0, Info(group=com.squareup.okhttp3, module=okhttp)=4.11.0, Info(group=com.squareup.okio, module=okio)=3.2.0, Info(group=com.squareup.okio, module=okio-jvm)=3.2.0, Info(group=com.google.code.gson, module=gson)=2.8.8, Info(group=androidx.room, module=room-runtime)=2.5.2, Info(group=androidx.room, module=room-common)=2.5.2, Info(group=androidx.sqlite, module=sqlite)=2.3.1, Info(group=androidx.sqlite, module=sqlite-framework)=2.3.1, Info(group=com.google.code.findbugs, module=jsr305)=3.0.2, Info(group=com.squareup.retrofit2, module=adapter-rxjava2)=2.2.0, Info(group=io.reactivex.rxjava2, module=rxjava)=2.2.9, Info(group=org.reactivestreams, module=reactive-streams)=1.0.2, Info(group=io.reactivex.rxjava2, module=rxandroid)=2.0.1, Info(group=com.newshunt.sdk.network, module=glide)=0.0.159, Info(group=com.newshunt.sdk.network, module=annotation)=0.0.159, Info(group=com.newshunt.sdk.network, module=disklrucache)=0.0.159, Info(group=com.newshunt.sdk.network, module=gif_decoder)=0.0.159, Info(group=com.newshunt.sdk.network, module=network-sdk)=0.0.159, Info(group=com.linkedin.android.spyglass, module=spyglass)=2.0.1, Info(group=androidx.exifinterface, module=exifinterface)=1.2.0, Info(group=in.dailyhunt.money, module=AdContextEvaluator)=1.0.9, Info(group=androidx.multidex, module=multidex)=2.0.0, Info(group=androidx.databinding, module=databinding-common)=7.4.2, Info(group=androidx.databinding, module=databinding-runtime)=7.4.2, Info(group=androidx.databinding, module=viewbinding)=7.4.2, Info(group=androidx.databinding, module=databinding-adapters)=7.4.2, Info(group=androidx.databinding, module=databinding-ktx)=7.4.2, Info(group=androidx.lifecycle, module=lifecycle-runtime-ktx)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-process)=2.4.0, Info(group=androidx.startup, module=startup-runtime)=1.0.0, Info(group=androidx.lifecycle, module=lifecycle-service)=2.4.0, Info(group=androidx.fragment, module=fragment-ktx)=1.3.3, Info(group=androidx.activity, module=activity-ktx)=1.2.2, Info(group=androidx.lifecycle, module=lifecycle-viewmodel-ktx)=2.5.1, Info(group=androidx.savedstate, module=savedstate-ktx)=1.1.0, Info(group=androidx.collection, module=collection-ktx)=1.1.0, Info(group=androidx.lifecycle, module=lifecycle-livedata-core-ktx)=2.5.1, Info(group=androidx.constraintlayout, module=constraintlayout)=2.0.1, Info(group=androidx.appcompat, module=appcompat)=1.4.0, Info(group=androidx.cursoradapter, module=cursoradapter)=1.0.0, Info(group=androidx.appcompat, module=appcompat-resources)=1.4.0, Info(group=androidx.vectordrawable, module=vectordrawable)=1.1.0, Info(group=androidx.vectordrawable, module=vectordrawable-animated)=1.1.0, Info(group=androidx.interpolator, module=interpolator)=1.0.0, Info(group=androidx.drawerlayout, module=drawerlayout)=1.1.1, Info(group=androidx.emoji2, module=emoji2)=1.0.0, Info(group=androidx.emoji2, module=emoji2-views-helper)=1.0.0, Info(group=androidx.resourceinspection, module=resourceinspection-annotation)=1.0.0, Info(group=androidx.constraintlayout, module=constraintlayout-solver)=2.0.1, Info(group=androidx.viewpager2, module=viewpager2)=1.1.0-alpha01, Info(group=androidx.recyclerview, module=recyclerview)=1.2.0-alpha02, Info(group=androidx.lifecycle, module=lifecycle-livedata-ktx)=2.5.1, Info(group=androidx.datastore, module=datastore-preferences)=1.0.0, Info(group=androidx.datastore, module=datastore)=1.0.0, Info(group=androidx.datastore, module=datastore-core)=1.0.0, Info(group=androidx.datastore, module=datastore-preferences-core)=1.0.0, Info(group=com.google.firebase, module=firebase-bom)=33.1.0, Info(group=com.google.firebase, module=firebase-perf)=21.0.1, Info(group=com.google.firebase, module=protolite-well-known-types)=18.0.0, Info(group=com.google.protobuf, module=protobuf-javalite)=3.21.11, Info(group=com.google.firebase, module=firebase-config)=22.0.0, Info(group=com.google.firebase, module=firebase-config-interop)=16.0.1, Info(group=com.google.firebase, module=firebase-abt)=21.1.1, Info(group=com.google.firebase, module=firebase-sessions)=2.0.1, Info(group=com.google.firebase, module=firebase-crashlytics)=19.0.1, Info(group=com.google.firebase, module=firebase-analytics)=22.0.1, Info(group=com.google.android.gms, module=play-services-measurement)=22.0.1, Info(group=com.google.android.gms, module=play-services-ads-identifier)=18.0.0, Info(group=com.google.android.gms, module=play-services-measurement-base)=22.0.1, Info(group=com.google.android.gms, module=play-services-measurement-impl)=22.0.1, Info(group=androidx.privacysandbox.ads, module=ads-adservices)=1.0.0-beta05, Info(group=androidx.privacysandbox.ads, module=ads-adservices-java)=1.0.0-beta05, Info(group=com.google.guava, module=guava)=31.1-android, Info(group=com.google.guava, module=failureaccess)=1.0.1, Info(group=org.checkerframework, module=checker-qual)=3.12.0, Info(group=com.google.j2objc, module=j2objc-annotations)=1.3, Info(group=com.google.android.gms, module=play-services-measurement-api)=22.0.1, Info(group=com.google.android.gms, module=play-services-measurement-sdk-api)=22.0.1, Info(group=com.google.android.gms, module=play-services-measurement-sdk)=22.0.1, Info(group=com.google.firebase, module=firebase-dynamic-links)=22.1.0, Info(group=com.google.firebase, module=firebase-auth-interop)=20.0.0, Info(group=com.squareup, module=otto)=1.3.8, Info(group=com.jakewharton, module=disklrucache)=2.0.2, Info(group=com.facebook.device.yearclass, module=yearclass)=1.0.1, Info(group=androidx.legacy, module=legacy-support-v13)=1.0.0, Info(group=androidx.legacy, module=legacy-support-v4)=1.0.0, Info(group=androidx.media, module=media)=1.0.1, Info(group=androidx.legacy, module=legacy-support-core-ui)=1.0.0, Info(group=androidx.coordinatorlayout, module=coordinatorlayout)=1.1.0, Info(group=androidx.slidingpanelayout, module=slidingpanelayout)=1.0.0, Info(group=androidx.swiperefreshlayout, module=swiperefreshlayout)=1.0.0, Info(group=androidx.asynclayoutinflater, module=asynclayoutinflater)=1.0.0, Info(group=com.google.android.material, module=material)=1.6.1, Info(group=androidx.cardview, module=cardview)=1.0.0, Info(group=androidx.dynamicanimation, module=dynamicanimation)=1.1.0-alpha03, Info(group=androidx.transition, module=transition)=1.2.0, Info(group=com.github.bumptech.glide, module=recyclerview-integration)=4.12.0, Info(group=androidx.emoji, module=emoji)=1.0.0, Info(group=org.glassfish, module=javax.annotation)=10.0-b28, Info(group=androidx.lifecycle, module=lifecycle-extensions)=2.2.0, Info(group=androidx.lifecycle, module=lifecycle-reactivestreams)=2.5.1, Info(group=androidx.paging, module=paging-runtime-ktx)=2.1.2, Info(group=androidx.paging, module=paging-runtime)=2.1.2, Info(group=androidx.paging, module=paging-common)=2.1.2, Info(group=androidx.paging, module=paging-common-ktx)=2.1.2, Info(group=dnsjava, module=dnsjava)=3.4.2, Info(group=org.slf4j, module=slf4j-api)=2.0.6, Info(group=com.newshunt.android, module=dh-lintrules)=0.0.1, Info(group=com.squareup.okhttp3, module=logging-interceptor)=4.9.2, Info(group=com.google.android.gms, module=play-services-location)=17.0.0, Info(group=com.google.android.gms, module=play-services-places-placereport)=17.0.0, Info(group=org.roaringbitmap, module=RoaringBitmap)=0.9.44, Info(group=org.roaringbitmap, module=shims)=0.9.44, Info(group=androidx.room, module=room-rxjava2)=2.5.2, Info(group=com.google.android.gms, module=play-services-auth)=20.1.0, Info(group=com.google.android.gms, module=play-services-auth-api-phone)=18.0.1, Info(group=com.google.android.gms, module=play-services-auth-base)=18.0.2, Info(group=androidx.room, module=room-ktx)=2.5.2, Info(group=com.dailyhunt.huntlytics, module=analytics-android-library)=1.52, Info(group=com.google.android.exoplayer, module=exoplayer-core)=2.11.8, Info(group=com.google.android.exoplayer, module=exoplayer-dash)=2.11.8, Info(group=com.google.android.exoplayer, module=exoplayer-ui)=2.11.8, Info(group=com.google.android.exoplayer, module=exoplayer-hls)=2.11.8, Info(group=com.google.android.exoplayer, module=extension-okhttp)=2.11.8, Info(group=com.appsflyer, module=af-android-sdk)=6.5.2, Info(group=com.android.installreferrer, module=installreferrer)=2.2, Info(group=com.facebook.android, module=facebook-android-sdk)=15.2.0, Info(group=com.facebook.android, module=facebook-core)=15.2.0, Info(group=com.facebook.android, module=facebook-bolts)=15.2.0, Info(group=com.facebook.android, module=facebook-common)=15.2.0, Info(group=androidx.browser, module=browser)=1.0.0, Info(group=com.google.zxing, module=core)=3.3.3, Info(group=com.facebook.android, module=facebook-login)=15.2.0, Info(group=com.facebook.android, module=facebook-share)=15.2.0, Info(group=com.facebook.android, module=facebook-applinks)=15.2.0, Info(group=com.facebook.android, module=facebook-messenger)=15.2.0, Info(group=com.facebook.android, module=facebook-gamingservices)=15.2.0, Info(group=com.google.android.libraries.places, module=places)=2.0.0, Info(group=com.android.volley, module=volley)=1.1.1, Info(group=com.google.android.gms, module=play-services-clearcut)=17.0.0, Info(group=com.google.android.gms, module=play-services-phenotype)=17.0.0, Info(group=com.google.android.gms, module=play-services-maps)=17.0.0, Info(group=com.google.auto.value, module=auto-value-annotations)=1.6.2, Info(group=io.apisense, module=rhino-android)=1.0, Info(group=com.sun.phobos, module=jsr223-api)=1.0, Info(group=org.mozilla, module=rhino)=1.7.7.1, Info(group=org.jetbrains.kotlin, module=kotlin-parcelize-runtime)=1.8.22, Info(group=org.jetbrains.kotlin, module=kotlin-android-extensions-runtime)=1.8.22, Info(group=com.google.android.play, module=core)=1.10.3, Info(group=com.google.android.play, module=core-ktx)=1.8.1, Info(group=com.airbnb.android, module=lottie)=4.2.2, Info(group=com.github.zjupure, module=webpdecoder)=2.0.4.12.0, Info(group=androidx.work, module=work-runtime-ktx)=2.8.1, Info(group=androidx.work, module=work-runtime)=2.8.1, Info(group=androidx.work, module=work-rxjava2)=2.8.1, Info(group=androidx.concurrent, module=concurrent-futures-ktx)=1.1.0, Info(group=com.google.ads.interactivemedia.v3, module=interactivemedia)=3.10.6, Info(group=com.truecaller.android.sdk, module=truecaller-sdk)=2.8.0, Info(group=com.google.auto.factory, module=auto-factory)=1.0-beta3, Info(group=com.google.auto, module=auto-common)=0.4, Info(group=com.squareup, module=javawriter)=2.5.1, Info(group=com.google.android.gms, module=play-services-ads-lite)=22.6.0, Info(group=com.google.android.gms, module=play-services-ads-base)=22.6.0, Info(group=com.google.android.ump, module=user-messaging-platform)=2.1.0, Info(group=com.facebook.android, module=audience-network-sdk)=6.11.0, Info(group=com.google.ads.mediation, module=facebook)=6.11.0.0, Info(group=com.amazon.android, module=aps-sdk)=9.7.1, Info(group=androidx.dynamicanimation, module=dynamicanimation-ktx)=1.0.0-alpha03, Info(group=com.google.android, module=flexbox)=1.1.0, Info(group=com.github.skydoves, module=balloon)=1.4.1, Info(group=com.squareup.leakcanary, module=leakcanary-android)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-android-core)=2.12, Info(group=com.squareup.leakcanary, module=shark-android)=2.12, Info(group=com.squareup.leakcanary, module=shark)=2.12, Info(group=com.squareup.leakcanary, module=shark-graph)=2.12, Info(group=com.squareup.leakcanary, module=shark-hprof)=2.12, Info(group=com.squareup.leakcanary, module=shark-log)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher-android-core)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-android-utils)=2.12, Info(group=com.squareup.curtains, module=curtains)=1.2.4, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher-android-androidx)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher-android-support-fragments)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher-android)=2.12, Info(group=com.squareup.leakcanary, module=plumber-android)=2.12, Info(group=com.squareup.leakcanary, module=plumber-android-core)=2.12, Info(group=com.google.android.gms, module=play-services-analytics)=16.0.8, Info(group=com.google.android.gms, module=play-services-analytics-impl)=16.0.8, Info(group=com.google.android.gms, module=play-services-tagmanager-v4-impl)=16.0.8, Info(group=com.gu.android, module=toolargetool)=0.3.0, Info(group=com.facebook.stetho, module=stetho-okhttp3)=1.4.2, Info(group=com.facebook.stetho, module=stetho)=1.4.2, Info(group=commons-cli, module=commons-cli)=1.2, Info(group=com.facebook.flipper, module=flipper)=0.238.0, Info(group=com.android.ndk.thirdparty, module=openssl)=1.1.1l-beta-1, Info(group=com.facebook.fbjni, module=fbjni)=0.3.0, Info(group=com.facebook.soloader, module=nativeloader)=0.10.5, Info(group=com.facebook.soloader, module=soloader)=0.10.5, Info(group=com.facebook.soloader, module=annotation)=0.10.5, Info(group=org.java-websocket, module=Java-WebSocket)=1.5.4, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-json)=1.5.1, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-json-jvm)=1.5.1, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-bom)=1.5.1, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-core)=1.5.1, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-core-jvm)=1.5.1, 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.

AndroidX Test and Android OS Versions

androidTestImplementation 'androidx.test:runner:1.5.2'

Link to a public git repo demonstrating the problem:

NA

Detailed stacktrace

* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:pre*AndroidTestBuild'.
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:38)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:322)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:309)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:302)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:288)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:462)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:379)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
Caused by: org.gradle.internal.execution.fingerprint.InputFingerprinter$InputFingerprintingException: Cannot fingerprint input property 'compileVersionMap': value '{Info(group=com.google.dagger, module=dagger)=2.27, Info(group=javax.inject, module=javax.inject)=1, Info(group=com.google.firebase, module=firebase-messaging)=24.0.0, Info(group=com.google.firebase, module=firebase-common)=21.0.0, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-play-services)=1.7.3, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-core)=1.7.3, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-core-jvm)=1.7.3, Info(group=org.jetbrains, module=annotations)=23.0.0, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-bom)=1.7.3, Info(group=org.jetbrains.kotlinx, module=kotlinx-coroutines-android)=1.7.3, Info(group=org.jetbrains.kotlin, module=kotlin-stdlib-jdk8)=1.8.22, Info(group=org.jetbrains.kotlin, module=kotlin-stdlib)=1.8.22, Info(group=org.jetbrains.kotlin, module=kotlin-stdlib-common)=1.8.22, Info(group=org.jetbrains.kotlin, module=kotlin-stdlib-jdk7)=1.8.22, Info(group=com.google.android.gms, module=play-services-tasks)=18.1.0, Info(group=com.google.android.gms, module=play-services-basement)=18.3.0, Info(group=androidx.collection, module=collection)=1.1.0, Info(group=androidx.annotation, module=annotation)=1.6.0, Info(group=androidx.annotation, module=annotation-jvm)=1.6.0, Info(group=androidx.core, module=core)=1.9.0, Info(group=androidx.annotation, module=annotation-experimental)=1.3.0, Info(group=androidx.concurrent, module=concurrent-futures)=1.1.0, Info(group=androidx.lifecycle, module=lifecycle-runtime)=2.5.1, Info(group=androidx.arch.core, module=core-common)=2.1.0, Info(group=androidx.arch.core, module=core-runtime)=2.1.0, Info(group=androidx.lifecycle, module=lifecycle-common)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-common-java8)=2.5.1, Info(group=androidx.versionedparcelable, module=versionedparcelable)=1.1.1, Info(group=androidx.core, module=core-ktx)=1.9.0, Info(group=androidx.fragment, module=fragment)=1.3.6, Info(group=androidx.viewpager, module=viewpager)=1.0.0, Info(group=androidx.customview, module=customview)=1.1.0, Info(group=androidx.loader, module=loader)=1.0.0, Info(group=androidx.lifecycle, module=lifecycle-livedata)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-livedata-core)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-viewmodel)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-viewmodel-savedstate)=2.5.1, Info(group=androidx.savedstate, module=savedstate)=1.2.0, Info(group=androidx.activity, module=activity)=1.2.4, Info(group=androidx.tracing, module=tracing)=1.0.0, Info(group=com.google.firebase, module=firebase-components)=18.0.0, Info(group=com.google.firebase, module=firebase-annotations)=16.2.0, Info(group=com.google.errorprone, module=error_prone_annotations)=2.26.0, Info(group=com.google.firebase, module=firebase-common-ktx)=21.0.0, Info(group=com.google.firebase, module=firebase-datatransport)=18.2.0, Info(group=com.google.android.datatransport, module=transport-api)=3.1.0, Info(group=com.google.android.datatransport, module=transport-runtime)=3.1.9, Info(group=com.google.firebase, module=firebase-encoders)=17.0.0, Info(group=com.google.firebase, module=firebase-encoders-proto)=16.0.0, Info(group=com.google.android.datatransport, module=transport-backend-cct)=3.1.9, Info(group=com.google.firebase, module=firebase-encoders-json)=18.0.1, Info(group=com.google.firebase, module=firebase-iid-interop)=17.1.0, Info(group=com.google.firebase, module=firebase-installations)=18.0.0, Info(group=com.google.firebase, module=firebase-installations-interop)=17.1.1, Info(group=com.google.firebase, module=firebase-measurement-connector)=20.0.1, Info(group=com.google.android.gms, module=play-services-base)=18.0.1, Info(group=com.google.android.gms, module=play-services-cloud-messaging)=17.2.0, Info(group=com.google.android.gms, module=play-services-stats)=17.0.2, Info(group=androidx.legacy, module=legacy-support-core-utils)=1.0.0, Info(group=androidx.documentfile, module=documentfile)=1.0.0, Info(group=androidx.localbroadcastmanager, module=localbroadcastmanager)=1.0.0, Info(group=androidx.print, module=print)=1.0.0, Info(group=com.squareup.retrofit2, module=converter-gson)=2.9.0, Info(group=com.squareup.retrofit2, module=retrofit)=2.9.0, Info(group=com.squareup.okhttp3, module=okhttp)=4.11.0, Info(group=com.squareup.okio, module=okio)=3.2.0, Info(group=com.squareup.okio, module=okio-jvm)=3.2.0, Info(group=com.google.code.gson, module=gson)=2.8.8, Info(group=androidx.room, module=room-runtime)=2.5.2, Info(group=androidx.room, module=room-common)=2.5.2, Info(group=androidx.sqlite, module=sqlite)=2.3.1, Info(group=androidx.sqlite, module=sqlite-framework)=2.3.1, Info(group=com.google.code.findbugs, module=jsr305)=3.0.2, Info(group=com.squareup.retrofit2, module=adapter-rxjava2)=2.2.0, Info(group=io.reactivex.rxjava2, module=rxjava)=2.2.9, Info(group=org.reactivestreams, module=reactive-streams)=1.0.2, Info(group=io.reactivex.rxjava2, module=rxandroid)=2.0.1, Info(group=com.newshunt.sdk.network, module=glide)=0.0.159, Info(group=com.newshunt.sdk.network, module=annotation)=0.0.159, Info(group=com.newshunt.sdk.network, module=disklrucache)=0.0.159, Info(group=com.newshunt.sdk.network, module=gif_decoder)=0.0.159, Info(group=com.newshunt.sdk.network, module=network-sdk)=0.0.159, Info(group=com.linkedin.android.spyglass, module=spyglass)=2.0.1, Info(group=androidx.exifinterface, module=exifinterface)=1.2.0, Info(group=in.dailyhunt.money, module=AdContextEvaluator)=1.0.9, Info(group=androidx.multidex, module=multidex)=2.0.0, Info(group=androidx.databinding, module=databinding-common)=7.4.2, Info(group=androidx.databinding, module=databinding-runtime)=7.4.2, Info(group=androidx.databinding, module=viewbinding)=7.4.2, Info(group=androidx.databinding, module=databinding-adapters)=7.4.2, Info(group=androidx.databinding, module=databinding-ktx)=7.4.2, Info(group=androidx.lifecycle, module=lifecycle-runtime-ktx)=2.5.1, Info(group=androidx.lifecycle, module=lifecycle-process)=2.4.0, Info(group=androidx.startup, module=startup-runtime)=1.0.0, Info(group=androidx.lifecycle, module=lifecycle-service)=2.4.0, Info(group=androidx.fragment, module=fragment-ktx)=1.3.3, Info(group=androidx.activity, module=activity-ktx)=1.2.2, Info(group=androidx.lifecycle, module=lifecycle-viewmodel-ktx)=2.5.1, Info(group=androidx.savedstate, module=savedstate-ktx)=1.1.0, Info(group=androidx.collection, module=collection-ktx)=1.1.0, Info(group=androidx.lifecycle, module=lifecycle-livedata-core-ktx)=2.5.1, Info(group=androidx.constraintlayout, module=constraintlayout)=2.0.1, Info(group=androidx.appcompat, module=appcompat)=1.4.0, Info(group=androidx.cursoradapter, module=cursoradapter)=1.0.0, Info(group=androidx.appcompat, module=appcompat-resources)=1.4.0, Info(group=androidx.vectordrawable, module=vectordrawable)=1.1.0, Info(group=androidx.vectordrawable, module=vectordrawable-animated)=1.1.0, Info(group=androidx.interpolator, module=interpolator)=1.0.0, Info(group=androidx.drawerlayout, module=drawerlayout)=1.1.1, Info(group=androidx.emoji2, module=emoji2)=1.0.0, Info(group=androidx.emoji2, module=emoji2-views-helper)=1.0.0, Info(group=androidx.resourceinspection, module=resourceinspection-annotation)=1.0.0, Info(group=androidx.constraintlayout, module=constraintlayout-solver)=2.0.1, Info(group=androidx.viewpager2, module=viewpager2)=1.1.0-alpha01, Info(group=androidx.recyclerview, module=recyclerview)=1.2.0-alpha02, Info(group=androidx.lifecycle, module=lifecycle-livedata-ktx)=2.5.1, Info(group=androidx.datastore, module=datastore-preferences)=1.0.0, Info(group=androidx.datastore, module=datastore)=1.0.0, Info(group=androidx.datastore, module=datastore-core)=1.0.0, Info(group=androidx.datastore, module=datastore-preferences-core)=1.0.0, Info(group=com.google.firebase, module=firebase-bom)=33.1.0, Info(group=com.google.firebase, module=firebase-perf)=21.0.1, Info(group=com.google.firebase, module=protolite-well-known-types)=18.0.0, Info(group=com.google.protobuf, module=protobuf-javalite)=3.21.11, Info(group=com.google.firebase, module=firebase-config)=22.0.0, Info(group=com.google.firebase, module=firebase-config-interop)=16.0.1, Info(group=com.google.firebase, module=firebase-abt)=21.1.1, Info(group=com.google.firebase, module=firebase-sessions)=2.0.1, Info(group=com.google.firebase, module=firebase-crashlytics)=19.0.1, Info(group=com.google.firebase, module=firebase-analytics)=22.0.1, Info(group=com.google.android.gms, module=play-services-measurement)=22.0.1, Info(group=com.google.android.gms, module=play-services-ads-identifier)=18.0.0, Info(group=com.google.android.gms, module=play-services-measurement-base)=22.0.1, Info(group=com.google.android.gms, module=play-services-measurement-impl)=22.0.1, Info(group=androidx.privacysandbox.ads, module=ads-adservices)=1.0.0-beta05, Info(group=androidx.privacysandbox.ads, module=ads-adservices-java)=1.0.0-beta05, Info(group=com.google.guava, module=guava)=31.1-android, Info(group=com.google.guava, module=failureaccess)=1.0.1, Info(group=org.checkerframework, module=checker-qual)=3.12.0, Info(group=com.google.j2objc, module=j2objc-annotations)=1.3, Info(group=com.google.android.gms, module=play-services-measurement-api)=22.0.1, Info(group=com.google.android.gms, module=play-services-measurement-sdk-api)=22.0.1, Info(group=com.google.android.gms, module=play-services-measurement-sdk)=22.0.1, Info(group=com.google.firebase, module=firebase-dynamic-links)=22.1.0, Info(group=com.google.firebase, module=firebase-auth-interop)=20.0.0, Info(group=com.squareup, module=otto)=1.3.8, Info(group=com.jakewharton, module=disklrucache)=2.0.2, Info(group=com.facebook.device.yearclass, module=yearclass)=1.0.1, Info(group=androidx.legacy, module=legacy-support-v13)=1.0.0, Info(group=androidx.legacy, module=legacy-support-v4)=1.0.0, Info(group=androidx.media, module=media)=1.0.1, Info(group=androidx.legacy, module=legacy-support-core-ui)=1.0.0, Info(group=androidx.coordinatorlayout, module=coordinatorlayout)=1.1.0, Info(group=androidx.slidingpanelayout, module=slidingpanelayout)=1.0.0, Info(group=androidx.swiperefreshlayout, module=swiperefreshlayout)=1.0.0, Info(group=androidx.asynclayoutinflater, module=asynclayoutinflater)=1.0.0, Info(group=com.google.android.material, module=material)=1.6.1, Info(group=androidx.cardview, module=cardview)=1.0.0, Info(group=androidx.dynamicanimation, module=dynamicanimation)=1.1.0-alpha03, Info(group=androidx.transition, module=transition)=1.2.0, Info(group=com.github.bumptech.glide, module=recyclerview-integration)=4.12.0, Info(group=androidx.emoji, module=emoji)=1.0.0, Info(group=org.glassfish, module=javax.annotation)=10.0-b28, Info(group=androidx.lifecycle, module=lifecycle-extensions)=2.2.0, Info(group=androidx.lifecycle, module=lifecycle-reactivestreams)=2.5.1, Info(group=androidx.paging, module=paging-runtime-ktx)=2.1.2, Info(group=androidx.paging, module=paging-runtime)=2.1.2, Info(group=androidx.paging, module=paging-common)=2.1.2, Info(group=androidx.paging, module=paging-common-ktx)=2.1.2, Info(group=dnsjava, module=dnsjava)=3.4.2, Info(group=org.slf4j, module=slf4j-api)=2.0.6, Info(group=com.newshunt.android, module=dh-lintrules)=0.0.1, Info(group=com.squareup.okhttp3, module=logging-interceptor)=4.9.2, Info(group=com.google.android.gms, module=play-services-location)=17.0.0, Info(group=com.google.android.gms, module=play-services-places-placereport)=17.0.0, Info(group=org.roaringbitmap, module=RoaringBitmap)=0.9.44, Info(group=org.roaringbitmap, module=shims)=0.9.44, Info(group=androidx.room, module=room-rxjava2)=2.5.2, Info(group=com.google.android.gms, module=play-services-auth)=20.1.0, Info(group=com.google.android.gms, module=play-services-auth-api-phone)=18.0.1, Info(group=com.google.android.gms, module=play-services-auth-base)=18.0.2, Info(group=androidx.room, module=room-ktx)=2.5.2, Info(group=com.dailyhunt.huntlytics, module=analytics-android-library)=1.52, Info(group=com.google.android.exoplayer, module=exoplayer-core)=2.11.8, Info(group=com.google.android.exoplayer, module=exoplayer-dash)=2.11.8, Info(group=com.google.android.exoplayer, module=exoplayer-ui)=2.11.8, Info(group=com.google.android.exoplayer, module=exoplayer-hls)=2.11.8, Info(group=com.google.android.exoplayer, module=extension-okhttp)=2.11.8, Info(group=com.appsflyer, module=af-android-sdk)=6.5.2, Info(group=com.android.installreferrer, module=installreferrer)=2.2, Info(group=com.facebook.android, module=facebook-android-sdk)=15.2.0, Info(group=com.facebook.android, module=facebook-core)=15.2.0, Info(group=com.facebook.android, module=facebook-bolts)=15.2.0, Info(group=com.facebook.android, module=facebook-common)=15.2.0, Info(group=androidx.browser, module=browser)=1.0.0, Info(group=com.google.zxing, module=core)=3.3.3, Info(group=com.facebook.android, module=facebook-login)=15.2.0, Info(group=com.facebook.android, module=facebook-share)=15.2.0, Info(group=com.facebook.android, module=facebook-applinks)=15.2.0, Info(group=com.facebook.android, module=facebook-messenger)=15.2.0, Info(group=com.facebook.android, module=facebook-gamingservices)=15.2.0, Info(group=com.google.android.libraries.places, module=places)=2.0.0, Info(group=com.android.volley, module=volley)=1.1.1, Info(group=com.google.android.gms, module=play-services-clearcut)=17.0.0, Info(group=com.google.android.gms, module=play-services-phenotype)=17.0.0, Info(group=com.google.android.gms, module=play-services-maps)=17.0.0, Info(group=com.google.auto.value, module=auto-value-annotations)=1.6.2, Info(group=io.apisense, module=rhino-android)=1.0, Info(group=com.sun.phobos, module=jsr223-api)=1.0, Info(group=org.mozilla, module=rhino)=1.7.7.1, Info(group=org.jetbrains.kotlin, module=kotlin-parcelize-runtime)=1.8.22, Info(group=org.jetbrains.kotlin, module=kotlin-android-extensions-runtime)=1.8.22, Info(group=com.google.android.play, module=core)=1.10.3, Info(group=com.google.android.play, module=core-ktx)=1.8.1, Info(group=com.airbnb.android, module=lottie)=4.2.2, Info(group=com.github.zjupure, module=webpdecoder)=2.0.4.12.0, Info(group=androidx.work, module=work-runtime-ktx)=2.8.1, Info(group=androidx.work, module=work-runtime)=2.8.1, Info(group=androidx.work, module=work-rxjava2)=2.8.1, Info(group=androidx.concurrent, module=concurrent-futures-ktx)=1.1.0, Info(group=com.google.ads.interactivemedia.v3, module=interactivemedia)=3.10.6, Info(group=com.truecaller.android.sdk, module=truecaller-sdk)=2.8.0, Info(group=com.google.auto.factory, module=auto-factory)=1.0-beta3, Info(group=com.google.auto, module=auto-common)=0.4, Info(group=com.squareup, module=javawriter)=2.5.1, Info(group=com.google.android.gms, module=play-services-ads-lite)=22.6.0, Info(group=com.google.android.gms, module=play-services-ads-base)=22.6.0, Info(group=com.google.android.ump, module=user-messaging-platform)=2.1.0, Info(group=com.facebook.android, module=audience-network-sdk)=6.11.0, Info(group=com.google.ads.mediation, module=facebook)=6.11.0.0, Info(group=com.amazon.android, module=aps-sdk)=9.7.1, Info(group=androidx.dynamicanimation, module=dynamicanimation-ktx)=1.0.0-alpha03, Info(group=com.google.android, module=flexbox)=1.1.0, Info(group=com.github.skydoves, module=balloon)=1.4.1, Info(group=com.squareup.leakcanary, module=leakcanary-android)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-android-core)=2.12, Info(group=com.squareup.leakcanary, module=shark-android)=2.12, Info(group=com.squareup.leakcanary, module=shark)=2.12, Info(group=com.squareup.leakcanary, module=shark-graph)=2.12, Info(group=com.squareup.leakcanary, module=shark-hprof)=2.12, Info(group=com.squareup.leakcanary, module=shark-log)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher-android-core)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-android-utils)=2.12, Info(group=com.squareup.curtains, module=curtains)=1.2.4, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher-android-androidx)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher-android-support-fragments)=2.12, Info(group=com.squareup.leakcanary, module=leakcanary-object-watcher-android)=2.12, Info(group=com.squareup.leakcanary, module=plumber-android)=2.12, Info(group=com.squareup.leakcanary, module=plumber-android-core)=2.12, Info(group=com.google.android.gms, module=play-services-analytics)=16.0.8, Info(group=com.google.android.gms, module=play-services-analytics-impl)=16.0.8, Info(group=com.google.android.gms, module=play-services-tagmanager-v4-impl)=16.0.8, Info(group=com.gu.android, module=toolargetool)=0.3.0, Info(group=com.facebook.stetho, module=stetho-okhttp3)=1.4.2, Info(group=com.facebook.stetho, module=stetho)=1.4.2, Info(group=commons-cli, module=commons-cli)=1.2, Info(group=com.facebook.flipper, module=flipper)=0.238.0, Info(group=com.android.ndk.thirdparty, module=openssl)=1.1.1l-beta-1, Info(group=com.facebook.fbjni, module=fbjni)=0.3.0, Info(group=com.facebook.soloader, module=nativeloader)=0.10.5, Info(group=com.facebook.soloader, module=soloader)=0.10.5, Info(group=com.facebook.soloader, module=annotation)=0.10.5, Info(group=org.java-websocket, module=Java-WebSocket)=1.5.4, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-json)=1.5.1, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-json-jvm)=1.5.1, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-bom)=1.5.1, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-core)=1.5.1, Info(group=org.jetbrains.kotlinx, module=kotlinx-serialization-core-jvm)=1.5.1, 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.
    at org.gradle.internal.execution.fingerprint.impl.DefaultInputFingerprinter$InputCollectingVisitor.visitInputProperty(DefaultInputFingerprinter.java:117)
    at org.gradle.api.internal.tasks.execution.TaskExecution.visitRegularInputs(TaskExecution.java:309)
    at org.gradle.internal.execution.fingerprint.impl.DefaultInputFingerprinter.fingerprintInputProperties(DefaultInputFingerprinter.java:61)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.captureExecutionStateWithOutputs(CaptureStateBeforeExecutionStep.java:193)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.lambda$captureExecutionState$1(CaptureStateBeforeExecutionStep.java:141)
    at org.gradle.internal.execution.steps.BuildOperationStep$1.call(BuildOperationStep.java:37)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.internal.execution.steps.BuildOperationStep.operation(BuildOperationStep.java:34)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.captureExecutionState(CaptureStateBeforeExecutionStep.java:130)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.lambda$execute$0(CaptureStateBeforeExecutionStep.java:75)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:75)
    at org.gradle.internal.execution.steps.CaptureStateBeforeExecutionStep.execute(CaptureStateBeforeExecutionStep.java:50)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.executeWithNoEmptySources(SkipEmptyWorkStep.java:254)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:91)
    at org.gradle.internal.execution.steps.SkipEmptyWorkStep.execute(SkipEmptyWorkStep.java:56)
    at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:32)
    at org.gradle.internal.execution.steps.RemoveUntrackedExecutionStateStep.execute(RemoveUntrackedExecutionStateStep.java:21)
    at org.gradle.internal.execution.steps.legacy.MarkSnapshottingInputsStartedStep.execute(MarkSnapshottingInputsStartedStep.java:38)
    at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:43)
    at org.gradle.internal.execution.steps.LoadPreviousExecutionStateStep.execute(LoadPreviousExecutionStateStep.java:31)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.lambda$execute$0(AssignWorkspaceStep.java:40)
    at org.gradle.api.internal.tasks.execution.TaskExecution$4.withWorkspace(TaskExecution.java:281)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:40)
    at org.gradle.internal.execution.steps.AssignWorkspaceStep.execute(AssignWorkspaceStep.java:30)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:37)
    at org.gradle.internal.execution.steps.IdentityCacheStep.execute(IdentityCacheStep.java:27)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:44)
    at org.gradle.internal.execution.steps.IdentifyStep.execute(IdentifyStep.java:33)
    at org.gradle.internal.execution.impl.DefaultExecutionEngine$1.execute(DefaultExecutionEngine.java:76)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeIfValid(ExecuteActionsTaskExecuter.java:139)
    at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:128)
    at org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter.execute(CleanupStaleOutputsExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.FinalizePropertiesTaskExecuter.execute(FinalizePropertiesTaskExecuter.java:46)
    at org.gradle.api.internal.tasks.execution.ResolveTaskExecutionModeExecuter.execute(ResolveTaskExecutionModeExecuter.java:51)
    at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:57)
    at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:36)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.executeTask(EventFiringTaskExecuter.java:77)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:55)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter$1.call(EventFiringTaskExecuter.java:52)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:204)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$CallableBuildOperationWorker.execute(DefaultBuildOperationRunner.java:199)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:66)
    at org.gradle.internal.operations.DefaultBuildOperationRunner$2.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:157)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.execute(DefaultBuildOperationRunner.java:59)
    at org.gradle.internal.operations.DefaultBuildOperationRunner.call(DefaultBuildOperationRunner.java:53)
    at org.gradle.internal.operations.DefaultBuildOperationExecutor.call(DefaultBuildOperationExecutor.java:73)
    at org.gradle.api.internal.tasks.execution.EventFiringTaskExecuter.execute(EventFiringTaskExecuter.java:52)
    at org.gradle.execution.plan.LocalTaskNodeExecutor.execute(LocalTaskNodeExecutor.java:69)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:322)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$InvokeNodeExecutorsAction.execute(DefaultTaskExecutionGraph.java:309)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:302)
    at org.gradle.execution.taskgraph.DefaultTaskExecutionGraph$BuildOperationAwareExecutionAction.execute(DefaultTaskExecutionGraph.java:288)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.execute(DefaultPlanExecutor.java:462)
    at org.gradle.execution.plan.DefaultPlanExecutor$ExecutorWorker.run(DefaultPlanExecutor.java:379)
    at org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:64)
    at org.gradle.internal.concurrent.ManagedExecutorImpl$1.run(ManagedExecutorImpl.java:49)
Caused by: org.gradle.internal.snapshot.ValueSnapshottingException: Could not serialize value of type Info
    at org.gradle.internal.snapshot.impl.AbstractValueProcessor.newValueSerializationException(AbstractValueProcessor.java:187)
    at org.gradle.internal.snapshot.impl.AbstractValueProcessor.javaSerialization(AbstractValueProcessor.java:178)
    at org.gradle.internal.snapshot.impl.AbstractValueProcessor.processValue(AbstractValueProcessor.java:157)
    at org.gradle.internal.snapshot.impl.AbstractValueProcessor.processValue(AbstractValueProcessor.java:105)
    at org.gradle.internal.snapshot.impl.DefaultValueSnapshotter.snapshot(DefaultValueSnapshotter.java:47)
    at org.gradle.internal.execution.fingerprint.impl.DefaultInputFingerprinter$InputCollectingVisitor.visitInputProperty(DefaultInputFingerprinter.java:110)
    ... 64 more
Caused by: java.io.NotSerializableException: com.android.build.gradle.internal.tasks.Info
    at org.gradle.internal.snapshot.impl.AbstractValueProcessor.javaSerialization(AbstractValueProcessor.java:175)
    ... 68 more
brettchabot commented 4 months ago

This issue doesn't look related to the androidx.test libraries. I'd suggest reaching out to the Android gradle team instead. https://developer.android.com/studio/report-bugs#:~:text=To%20report%20a%20bug%20for,the%20tools%20you're%20using.

mwshubham commented 4 months ago

Previously, all task with Test were enabled. Removing the below enabled check from these task works.

gradle.taskGraph.whenReady { graph ->
  graph.allTasks.findAll { it.name ==~ /.*Test.*/ }*.enabled = true
}