Provides a way to add @k3kdude's DiscordWebhook class with my modifications as a maven dependency using jitpack.
My modifications fixed the encoding issue via StandardCharsets.UTF_8
, made the classes public, made some variables final, and added timestamp functionality.
<repositories>
...
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
...
</repositories>
<dependencies>
...
<dependency>
<groupId>com.github.EarthCow</groupId>
<artifactId>JavaDiscordWebhook</artifactId>
<version>{current_version}</version>
</dependency>
...
</dependencies>
Make sure you replace {current_version}
with the current release version here on github.