Open akshay253101 opened 3 years ago
Thanks for sharing, I'll have a look (at some point)! Though I'd say this is an enhancement request, not a bug.
More details from duplicate #1020:
- Plugin 'io.objectbox': read system property 'sun.arch.data.model'
See https://docs.gradle.org/7.0.2/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read
- Task `:app:objectboxPrepareBuild` of type `io.objectbox.gradle.PrepareTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
See https://docs.gradle.org/7.0.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
- Task `:app:transformClassesWithObjectBoxAndroidTransformForProdNotEncryptedRelease` of type `com.android.build.gradle.internal.pipeline.TransformTask`: cannot serialize object of type 'org.gradle.api.internal.project.DefaultProject', a subtype of 'org.gradle.api.Project', as these are not supported with the configuration cache.
See https://docs.gradle.org/7.0.2/userguide/configuration_cache.html#config_cache:requirements:disallowed_types
To Reproduce Steps to reproduce the behaviour:
Try Configuration cache in a build
https://medium.com/androiddevelopers/configuration-caching-deep-dive-bcb304698070
HI, this item is pretty important for us as it is blocking our project to use Gradle configuration cache feature.
Is your io.objectbox plugin available on Github to check its sources?
And there are already 2 requests for this feature #1020
Hello!
@greenrobot Looks like you closed both of tickets as duplicate of each other ;-D
For us it is pretty important change and if needed we can help to contribute or tailor some deal around that. If needed we can continue communication in other channel.
@vdmitrovich This issue is still open? Anyhow, I assume this means that the latest version of the ObjectBox Gradle plugin still is incompatible with the configuration cache (I haven't checked lately)?
We are using 3.2.0 - will check with 3.3.1 soon and update you
I would like to know when this support will be added, we will also be happy to contribute to the community
Currently "io.objectbox" plugin doesn't support configuration cache. https://docs.gradle.org/current/userguide/configuration_cache.html
Plugin 'io.objectbox': read system property 'sun.arch.data.model' See https://docs.gradle.org/6.8.2/userguide/configuration_cache.html#config_cache:requirements:undeclared_sys_prop_read