Rob Murdock
07/14/2023, 8:54 PMRob Murdock
07/14/2023, 8:55 PMConfiguration cache state could not be cached: field `__libraries__` of task `:plugins-test:mint-action-test:kspCommonMainKotlinMetadata` of type `com.google.devtools.ksp.gradle.KspTaskMetadata`: error writing value of type 'org.gradle.api.internal.file.collections.DefaultConfigurableFileCollection'
> Querying the mapped value of provider(java.util.Set) before task ':libraries:action:allMetadataJar' has completed is not supported
Josh Feinberg
11/11/2023, 11:42 PMRob Murdock
11/12/2023, 7:24 PMJosh Feinberg
11/12/2023, 9:45 PMRob Murdock
11/20/2023, 1:02 PMDmitriy Tarasevich
05/30/2024, 2:14 AMI discovered I could disable the metadata dependency and things broadly worked.How did you go about doing that? Im running into this same issue
Rob Murdock
05/30/2024, 2:27 AMconfigurations.names.forEach {
if (it.startsWith("ksp") && it != "ksp") {
it("com.zegreatrob.testmints:action-processor:1.0.0")
}
}
That's an example of applying a ksp processor library to all configurations capable of ksp (after the "com.google.devtools.ksp" plugin has done its thing). In the past, this code had a 'skip if the configuration contains the word common' clause to avoid the pain point i mentioned before.