HubSpot / slack-client

An asynchronous HTTP client for Slack's web API
Apache License 2.0
115 stars 53 forks source link

Remove deprecated method SlackEvent::toDetailedEvent(), upgrade basepom, apply prettier formatting #323

Closed jaredstehler closed 8 months ago

jaredstehler commented 8 months ago

Upgrades basepom to 59.5. This includes an update of immutables, which results in the following compilation error:

[ERROR] /src/oss/slack-client/slack-base/src/main/java/com/hubspot/slack/client/models/events/SlackEvent.java:[15,36] Method 'toDetailedEvent' cannot have own generic type parameters. Attribute accessors can only use enclosing type's type variables

Since this method was already deprecated, it is removed in this PR.

This also updates the target JDK from 8 to 11.

I will release 1.13 beforehand, and merge this PR into 1.14-SNAPSHOT.