Wesley Hartford
03/15/2024, 11:36 PMAnze Sodja
03/18/2024, 4:34 PMinterface MyDependencyProcessor : Serializable {
// methods
}
And then user can implement it and pass instance as an input. Another option is that user passes a Class<? extends MyDependencyProcessor> and you instantiate that at the execution of a task. For example https://github.com/melix/japicmp-gradle-plugin uses such strategy afaik (see filters)Wesley Hartford
03/18/2024, 5:03 PMObjectFactory.newInstance() would cause the standard dependency injection to occur?Anze Sodja
03/18/2024, 5:12 PMWesley Hartford
03/18/2024, 5:14 PM