In the plugin I would like to use a configuration class from the core module (which is used by both Gradle and Maven) to define task inputs and outputs. As the core module is Gradle agnostic I cannot use
@Output (which normally I would like to use with
@CachingTask). I would prefer not to subclass that class to just provide getters with the annotations.
Is there any other way to define inputs/outputs (besides using aforementioned annotations)?