Compare commits

..

No commits in common. "7146c528351b5525fa9478088220bfa765ac778d" and "c85a333de933b14eb817bee5acb54ba40a64ea9c" have entirely different histories.

4 changed files with 8 additions and 11 deletions

View File

@ -19,7 +19,7 @@ allprojects {
publishing { publishing {
repositories { repositories {
maven { maven {
name = "funqx-gitea" name = "funqx gitea"
url = uri("https://git.funqx.org/api/packages/World2Join/maven") url = uri("https://git.funqx.org/api/packages/World2Join/maven")
credentials(HttpHeaderCredentials) { credentials(HttpHeaderCredentials) {
@ -36,11 +36,6 @@ allprojects {
} }
subprojects { subprojects {
java {
withJavadocJar()
withSourcesJar()
}
publishing { publishing {
publications { publications {
maven(MavenPublication) { maven(MavenPublication) {

View File

@ -1,5 +1,5 @@
group 'eu.mivrenik' group 'eu.mivrenik'
version '0.2' version '0.1'
apply plugin: 'java' apply plugin: 'java'
apply plugin: 'java-library' apply plugin: 'java-library'
@ -12,5 +12,5 @@ repositories {
dependencies { dependencies {
api project(':stomp') api project(':stomp')
api 'org.java-websocket:Java-WebSocket:1.5.5' api 'org.java-websocket:Java-WebSocket:1.3.6'
} }

View File

@ -26,10 +26,12 @@ import eu.mivrenik.stomp.StompFrame;
import eu.mivrenik.stomp.StompHeader; import eu.mivrenik.stomp.StompHeader;
import eu.mivrenik.stomp.client.listener.StompConnectionListener; import eu.mivrenik.stomp.client.listener.StompConnectionListener;
import eu.mivrenik.stomp.client.listener.StompMessageListener; import eu.mivrenik.stomp.client.listener.StompMessageListener;
import org.java_websocket.WebSocketListener;
import org.java_websocket.client.WebSocketClient; import org.java_websocket.client.WebSocketClient;
import org.java_websocket.drafts.Draft; import org.java_websocket.drafts.Draft;
import org.java_websocket.handshake.ServerHandshake; import org.java_websocket.handshake.ServerHandshake;
import java.io.IOException;
import java.net.URI; import java.net.URI;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;
@ -38,8 +40,8 @@ import java.util.UUID;
/** /**
* STOMP v1.2 client using `Java-WebSocket` WebSocket client implementation. * STOMP v1.2 client using `Java-WebSocket` WebSocket client implementation.
* <p> * <p>
* @see <a href="https://stomp.github.io/stomp-specification-1.2.html">STOMP Specification 1.2</a> * {@see https://eu.mivrenik.stomp.github.io/eu.mivrenik.stomp-specification-1.2.html}
* @see <a href="https://github.com/TooTallNate/Java-WebSocket">github.com/TooTallNate/Java-WebSocket</a>} * {@see https://github.com/TooTallNate/Java-WebSocket}
*/ */
public class StompClient extends WebSocketClient { public class StompClient extends WebSocketClient {
/** /**

View File

@ -27,7 +27,7 @@ import java.util.Map;
/** /**
* STOMP Frame. * STOMP Frame.
* *
* @see <a href="https://stomp.github.io/stomp-specification-1.2.html#STOMP_Frames">STOMP Frames</a> * @link https://eu.mivrenik.stomp.github.io/eu.mivrenik.stomp-specification-1.2.html#STOMP_Frames
*/ */
public class StompFrame { public class StompFrame {
private StompCommand command; private StompCommand command;