|
1 | 1 | Java WebSockets |
2 | 2 | =============== |
3 | | -[](https://travis-ci.org/marci4/Java-WebSocket-Dev) [](https://clojars.org/org.java-websocket/java-websocket) |
4 | | - |
| 3 | +[](https://travis-ci.org/marci4/Java-WebSocket-Dev) |
| 4 | +[](https://maven-badges.herokuapp.com/maven-central/org.java-websocket/Java-WebSocket) |
5 | 5 |
|
6 | 6 | This repository contains a barebones WebSocket server and client implementation |
7 | 7 | written in 100% Java. The underlying classes are implemented `java.nio`, which allows for a |
@@ -36,37 +36,30 @@ will create the javadoc of this library at ```doc/``` and build the library itse |
36 | 36 | The ant targets are: ```compile```, ```jar```, ```doc``` and ```clean``` |
37 | 37 |
|
38 | 38 | ### Maven |
39 | | -To use maven add this repository to your pom.xml: |
40 | | -```xml |
41 | | -<repository> |
42 | | - <id>clojars.org</id> |
43 | | - <url>http://clojars.org/repo</url> |
44 | | -</repository> |
45 | | -``` |
46 | | -Also add this dependency to your pom.xml: |
| 39 | +To use maven add this dependency to your pom.xml: |
47 | 40 | ```xml |
48 | 41 | <dependency> |
49 | 42 | <groupId>org.java-websocket</groupId> |
50 | | - <artifactId>java-websocket</artifactId> |
51 | | - <version>1.3.3</version> |
| 43 | + <artifactId>Java-WebSocket</artifactId> |
| 44 | + <version>1.3.4</version> |
52 | 45 | </dependency> |
53 | 46 | ``` |
54 | 47 |
|
55 | 48 | ### Gradle |
56 | | -To use Gradle add this repository to your repositories list : |
| 49 | +To use Gradle add the maven central repository to your repositories list : |
57 | 50 | ```xml |
58 | | -maven { url "http://clojars.org/repo" } |
| 51 | +mavenCentral() |
59 | 52 | ``` |
60 | 53 | Then you can just add the latest version to your build. |
61 | 54 | ```xml |
62 | | -compile "org.java-websocket:java-websocket:1.3.3" |
| 55 | +compile "org.java-websocket:Java-WebSocket:1.3.4" |
63 | 56 | ``` |
64 | 57 |
|
65 | 58 |
|
66 | 59 | ### Leiningen |
67 | 60 |
|
68 | 61 | ``` bash |
69 | | -[org.java-websocket/java-websocket "1.3.3"] |
| 62 | +[org.java-websocket/java-websocket "1.3.4"] |
70 | 63 | ``` |
71 | 64 |
|
72 | 65 | Running the Examples |
|
0 commit comments