Skip to content
This repository was archived by the owner on Nov 2, 2020. It is now read-only.

Commit c00351d

Browse files
committed
Updated installation in README
1 parent d1d7572 commit c00351d

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

README.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# ClusterWS Client Java
2+
[![](https://jitpack.io/v/ClusterWS/ClusterWS-Client-Java.svg)](https://jitpack.io/#ClusterWS/ClusterWS-Client-Java)
23

34
## Overview
45
This is official Java client for [ClusterWS](https://github.com/ClusterWS/ClusterWS).
@@ -8,7 +9,37 @@ This is official Java client for [ClusterWS](https://github.com/ClusterWS/Cluste
89
**This library requires [ClusterWS](https://github.com/ClusterWS/ClusterWS) on the server**
910

1011
## Installation
11-
### In preparation
12+
### Maven
13+
14+
```xml
15+
<repositories>
16+
<repository>
17+
<id>jitpack.io</id>
18+
<url>https://jitpack.io</url>
19+
</repository>
20+
</repositories>
21+
22+
<dependency>
23+
<groupId>com.github.ClusterWS</groupId>
24+
<artifactId>ClusterWS-Client-Java</artifactId>
25+
<version>1.1.1</version>
26+
</dependency>
27+
```
28+
29+
30+
### Gradle
31+
32+
```Gradle
33+
allprojects {
34+
repositories {
35+
maven { url 'https://jitpack.io' }
36+
}
37+
}
38+
39+
dependencies {
40+
compile 'com.github.ClusterWS:ClusterWS-Client-Java:1.1.1'
41+
}
42+
```
1243

1344

1445
## Socket

src/main/java/com/ClusterWS/ClusterWS.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public class ClusterWS {
2020
private Emitter mEmitter;
2121
private ArrayList<Channel> mChannels;
2222
private Message mMessageHandler;
23-
private boolean testVariable;
2423

2524
//Ping
2625
private Timer mPingTimer;

0 commit comments

Comments
 (0)