This repository has been archived by the owner on Oct 23, 2021. It is now read-only.
Releases: MinnDevelopment/java-discord-rpc
Releases · MinnDevelopment/java-discord-rpc
v2.0.1
Object#equals and Object#hashCode implementation
Changes
PR | Change |
---|---|
#11 | Added equals() and hashCode() to DiscordRichPresence |
Gradle
repositories {
jcenter()
maven { url 'https://jitpack.io/' }
}
dependencies {
compile 'com.github.MinnDevelopment:java-discord-rpc:v1.3.1'
}
Maven
<repository>
<url>https://jcenter.bintray.com</url>
<name>jcenter</name>
</repository>
<repository>
<url>https://jitpack.io</url>
<name>jitpack</name>
</repository>
<dependency>
<groupId>com.github.MinnDevelopment</groupId>
<artifactId>java-discord-rpc</artifactId>
<version>v1.3.1</version>
</dependency>
Added DiscordJoinRequest.discriminator
You can now do the following:
public class MyApp
{
// ...
public static void onJoinRequest(DiscordJoinRequest request) {
System.out.printf("%s#%s requests to join party!\n", request.username, request.discriminator);
}
// ...
}
Signed Binaries
Changes
Discord has been kind enough to release official signed binaries for their SDK. I have outsourced the binaries to a new repository which will allow me to update the binaries without having to create a new build.
Darwin (macOS), Documentation, Sources
Changes
Title | Pull Request |
---|---|
Add darwin binary | #3 |
1.2 Javadoc & Sources | #6 |
Gradle
repositories {
jcenter()
maven { url 'https://jitpack.io/' }
}
dependencies {
compile 'com.github.MinnDevelopment:java-discord-rpc:v1.2'
}
Maven
<repository>
<url>https://jcenter.bintray.com</url>
<name>jcenter</name>
</repository>
<repository>
<url>https://jitpack.io</url>
<name>jitpack</name>
</repository>
<dependency>
<groupId>com.github.MinnDevelopment</groupId>
<artifactId>java-discord-rpc</artifactId>
<version>v1.2</version>
</dependency>
Linux Support
In this version I added a linux-x86-64
binary.
Additionally you can now choose to download the jar file suffixed with -all
to get a build with dependencies.
Gradle
repositories {
jcenter()
maven { url 'https://jitpack.io/' }
}
dependencies {
compile 'com.github.MinnDevelopment:java-discord-rpc:v1.1'
}
Maven
<repository>
<url>https://jcenter.bintray.com</url>
<name>jcenter</name>
</repository>
<repository>
<url>https://jitpack.io</url>
<name>jitpack</name>
</repository>
<dependency>
<groupId>com.github.MinnDevelopment</groupId>
<artifactId>java-discord-rpc</artifactId>
<version>v1.1</version>
</dependency>
Initial Release
This provides a basic binding together with a 64bit windows binary for the Discord RPC SDK.
Grade
repositories {
jcenter()
maven { url 'https://jitpack.io/' }
}
dependencies {
compile 'com.github.MinnDevelopment:java-discord-rpc:v1.0'
}
Maven
<repository>
<url>https://jcenter.binray.com</url>
<name>jcenter</name>
</repository>
<repository>
<url>https://jitpack.io</url>
<name>jitpack</name>
</repository>
<dependency>
<groupId>com.github.MinnDevelopment</groupId>
<artifactId>java-discord-rpc</artificatId>
<version>v1.0</version>
</dependency>