Java Service Task in Designer / Modeler

I don’t think is possible to externalize a custom task into a separate JAR, because you need to modify several flowable-modules (listed in this post: How to extend Flowable to add "Business Domain" specific BPMN elements) to make it work.