Compare commits

...

3 Commits

Author SHA1 Message Date
7146c52835 Updated Java-WebSocket to 1.5.5. Enabled JavaDoc and sources JARs 2024-02-04 12:03:36 +03:00
7b0e0aff1a Fix JavaDoc 2024-02-04 12:00:26 +03:00
173504389b Fix Maven repo name 2024-02-04 11:45:54 +03:00
4 changed files with 11 additions and 8 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,6 +36,11 @@ 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.1' version '0.2'
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.3.6' api 'org.java-websocket:Java-WebSocket:1.5.5'
} }

View File

@ -26,12 +26,10 @@ 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;
@ -40,8 +38,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 https://eu.mivrenik.stomp.github.io/eu.mivrenik.stomp-specification-1.2.html} * @see <a href="https://stomp.github.io/stomp-specification-1.2.html">STOMP Specification 1.2</a>
* {@see https://github.com/TooTallNate/Java-WebSocket} * @see <a href="https://github.com/TooTallNate/Java-WebSocket">github.com/TooTallNate/Java-WebSocket</a>}
*/ */
public class StompClient extends WebSocketClient { public class StompClient extends WebSocketClient {
/** /**

View File

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