discord-webhooks icon indicating copy to clipboard operation
discord-webhooks copied to clipboard

Groovy compatibility broken

Open Vampire opened this issue 1 year ago • 0 comments

I use this lib from Groovy and used 0.1.8 before which worked fine. Now I updated to 0.8.2 and it is not working anymore due to https://issues.apache.org/jira/browse/GROOVY-11116. Summarized, having an optional dependency in the signature of a method makes the class unloadable if the dependency is absent. So currently you can only use this lib from Groovy if you have all the optional dependencies present at runtime. Would be nice if the WebhookClientBuilder could be split into one class per optional dependency to restore Groovy compatibility.

Vampire avatar Jun 29 '23 17:06 Vampire