Nouran
08/29/2025, 11:54 AMNouran
08/29/2025, 11:55 AM__outputFolder__ of task :plugin-gradle:processors:jsonschema2pojo:processorVersion of type `org.jsonschema2dataclass.internal.plugin.lib.ProcessorVersionGeneratorTask`: error writing value of type 'org.gradle.api.internal.file.DefaultFilePropertyFactory$DefaultDirectoryVar'
Extension 'processorVersion' property 'outputFolder' is declared as an output property of extension 'processorVersion' (type ProcessorVersionPExtension) but does not have a task associated with it.
Nouran
08/29/2025, 11:57 AMNouran
08/29/2025, 11:57 AM:plugin-gradle:processors:jsonschema2pojo:processorVersion of type `org.jsonschema2dataclass.internal.plugin.lib.ProcessorVersionGeneratorTask`: invocation of 'Task.project' at execution time is unsupported.Nouran
08/29/2025, 12:00 PMTask.project issue , I moved all the dependency resolution to configuration time , all project.versionCatalogsNouran
08/29/2025, 12:02 PMRafael Chaves
08/29/2025, 12:48 PMthen I removed the @get:OutputFile annotationI don't see that in your changes, and not sure why you would want to change that.
for theYou made it eager, so you won't see changes made after the plugin is applied. We should follow the same pattern as before, using a provider/lazy property, so it is computed late (at CC store time), when configuration is no longer being mutated.issue , I moved all the dependency resolution to configuration time , all project.versionCatalogsTask.project
Nouran
08/29/2025, 12:50 PMRafael Chaves
08/29/2025, 12:51 PMRafael Chaves
08/29/2025, 12:51 PMRafael Chaves
08/29/2025, 12:52 PMNouran
08/29/2025, 12:52 PMConfiguration cache state could not be cached: field `__outputFolder__` of task `:plugin-gradle:processors:jsonschema2pojo:processorVersion` of type `org.jsonschema2dataclass.internal.plugin.lib.ProcessorVersionGeneratorTask`: error writing value of type 'org.gradle.api.internal.file.DefaultFilePropertyFactory$DefaultDirectoryVar'
> Extension 'processorVersion' property 'outputFolder' is declared as an output property of extension 'processorVersion' (type ProcessorVersionPExtension) but does not have a task associated with it.Nouran
08/29/2025, 12:52 PMNouran
08/29/2025, 1:10 PMRafael Chaves
08/29/2025, 2:00 PMNouran
08/29/2025, 2:01 PMRafael Chaves
08/29/2025, 2:01 PMNouran
08/29/2025, 2:15 PMNouran
08/29/2025, 2:15 PMorg.jsonschema2pojo:jsonschema2pojo-core:1.2.2, writing to /Users/nouranatef/IdeaProjects/js2d-gradle/plugin-gradle/processors/jsonschema2pojo/build/generated/sources/processorVersion/processor.propertiesRafael Chaves
08/29/2025, 2:15 PMNouran
08/29/2025, 2:17 PMNouran
08/29/2025, 2:17 PMRafael Chaves
08/29/2025, 2:17 PMOptional<Provider<...> I believeRafael Chaves
08/29/2025, 2:19 PMRafael Chaves
08/29/2025, 8:08 PMNouran
08/29/2025, 8:18 PMRafael Chaves
08/29/2025, 8:43 PM@Nested properties. Otherwise, they have no special meaning - yet, may lead to errors when CC is enabled.Nouran
08/29/2025, 8:44 PM