Hi,
I have a certain task, which can be configured by a extension.
I want to add this extension to the uptodatecheck, so I added
a field
@Input
FooDsl foo
But than I get an error
Caused by: java.io.NotSerializableException: org.gradle.api.internal.AsmBackedClassGenerator$MixInExtensibleDynamicObject
at org.gradle.messaging.serialize.DefaultSerializer.write(DefaultSerializer.java:53)
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository$LazyTaskExecution$TaskHistorySerializer.write(CacheBackedTaskHistoryRepository.java:276)
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository$TaskHistorySerializer.write(CacheBackedTaskHistoryRepository.java:156)
at org.gradle.api.internal.changedetection.state.CacheBackedTaskHistoryRepository$TaskHistorySerializer.write(CacheBackedTaskHistoryRepository.java:136)
Is it possible to use extensions as input object?
Cheers Markus