Problem
In typescript-generator-gradle-plugin 4.x, the nested-POJO types used by @Input Property<T> fields on TypescriptGeneratorExtension do not implement java.io.Serializable. Setting any of them to a non-default value breaks Gradle's configuration cache with:
Cannot fingerprint input property 'jackson3Configuration':
value 'cz.habarta.typescript.generator.Jackson3Configuration@...' cannot be serialized.
Affected Types
All six nested-POJO input types are non-Serializable (verified by reflection at configuration time):
Jackson2Configuration
Jackson3Configuration
GsonConfiguration
JsonbConfiguration
ModuleDependency (element of moduleDependencies)
Settings.ConfiguredExtension (element of extensionsWithConfigurations)
Environment
Plugin 4.1.1, Gradle 8.14.5, JDK 21
Problem
In
typescript-generator-gradle-plugin4.x, the nested-POJO types used by@Input Property<T>fields onTypescriptGeneratorExtensiondo not implementjava.io.Serializable. Setting any of them to a non-default value breaks Gradle's configuration cache with:Affected Types
All six nested-POJO input types are non-Serializable (verified by reflection at configuration time):
Jackson2ConfigurationJackson3ConfigurationGsonConfigurationJsonbConfigurationModuleDependency(element ofmoduleDependencies)Settings.ConfiguredExtension(element ofextensionsWithConfigurations)Environment
Plugin 4.1.1, Gradle 8.14.5, JDK 21