Loading the DH Api

The example repo the DH Api is simply added through a implementation directive in the build.grade file. However, I am facing the issue that the game will obviously crash when my mod is loaded, but not DH, and the class loaded can't find DH's classes.
For example: java.lang.NoClassDefFoundError: com/seibel/distanthorizons/api/methods/events/interfaces/IDhApiEvent
Now I am not sure I am supposed to include the DH Api jar or what? I'm also confused because the API version on Modrinth seems really old. Is it assured to be stable?
Was this page helpful?