Currently, Notion SDK JVM is used as an underlying dependency to call the Notion API.
Although it gives the benefit of accessing the API from Java without additional effort, it has a few downsides:
- Brings Gson and Kotlin transitively
- Does not have a module descriptor
- Could slow down the adoption of new API types released by Notion
An alternative could be to adopt one of the Rest Client options that Spring provides.