Quadrant should support configuration-cache
See original GitHub issueWhen enabling configuration-cache with quadrant by placing org.gradle.unsafe.configuration-cache=true
to your root gradle.properties
, the compilation will fail with the following error:
Configuration cache state could not be cached: field 'processor$delegate' from type 'com.gaelmarhic.quadrant.tasks.GenerateActivityClassNameConstants': error writing value of type 'kotlin.SynchronizedLazyImpl'
> Configuration cache state could not be cached: field 'value' from type 'kotlin.InitializedLazyImpl': error writing value of type 'com.gaelmarhic.quadrant.processors.GenerateActivityClassNameConstantProcessor'
> Configuration cache state could not be cached: field 'manifestParsingHelper' from type 'com.gaelmarhic.quadrant.processors.GenerateActivityClassNameConstantProcessor': error writing value of type 'com.gaelmarhic.quadrant.helpers.ManifestParsingHelper'
> Configuration cache state could not be cached: field 'jaxbUnMarshaller$delegate' from type 'com.gaelmarhic.quadrant.helpers.ManifestParsingHelper': error writing value of type 'kotlin.SynchronizedLazyImpl'
> Implementation of JAXB-API has not been found on module path or classpath.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
The plugin does not support Configuration Caching · Issue #247
Recently I tried to make this lib supporting gradle configuration cache and upload on my local artifactory. But i am not that familiar...
Read more >Cloud CDN gets improved useability features
Cache modes, a new concept that allows Cloud CDN to automatically cache common static content types without further origin configuration, cache ...
Read more >export & import - Yellowfin BI
Hi Sharon, If you want to replicate 1 environment for all new users, you are best to have a Yellowfin DB that you...
Read more >Mapping DSP Applications on Processor Systems with Coarse ...
In this paper, we present performance results from mapping five real-world DSP applications on an embedded system-on-chip that incorporates coarse-grain.
Read more >Vigil@nce: Solaris, denial of service of ldap_cachemgr(1M)
A local attacker can use multiple vulnerabilities of ldap_cachemgr(1M) in order to generate a ... The LDAP Client Configuration Cache Daemon
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hey @marcellogalhardo !
The corresponding PR (#8) has been merged and a new release has been made: https://github.com/gaelmarhic/Quadrant/releases/tag/v1.6 https://plugins.gradle.org/plugin/com.gaelmarhic.quadrant
Please, remember that, even though
Quadrant
now supports it, Gradle Configuration Cache is still experimental, and it still has some issues. For example, if you run into an error of typee: Source file or directory not found: /Users/Developer/Desktop/QuadrantTest/app/build/generated/source/quadrant/com/gaelmarhic/quadrant/QuadrantConstants.kt
, it is probably because of this issue: https://youtrack.jetbrains.com/issue/KT-46651. In that case, update the version of Kotlin Gradle plugin to at least 1.5.30-M1 in your Android project.Hope this helps.
Cheers!
Gaël
@marcellogalhardo, regarding the edge case I was talking about in my previous comment, never mind. It is an issue on Kotlin Gradle plugin and the fix is in one of the next versions to come. https://medium.com/@gaelmrc/hey-ivan-aa5578745020
Therefore, I have deleted the section I had previously added to the README.
Cheers!