Skip to content

Commit d91c0fe

Browse files
authored
Update for Gradle
1 parent b168941 commit d91c0fe

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.markdown

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Implemented WebSocket protocol versions are:
2020

2121

2222
## Build
23-
You can build using Ant, Maven or Leiningen but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
23+
You can build using Ant, Maven, Gradle or Leiningen but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
2424

2525
### Ant
2626

@@ -49,10 +49,21 @@ Also add this dependency to your pom.xml:
4949
</dependency>
5050
```
5151

52+
### Gradle
53+
To use Gradle add this repository to your repositories list :
54+
```xml
55+
maven { url "http://clojars.org/repo" }
56+
```
57+
Then you can just add the latest version to your build.
58+
```xml
59+
compile "org.java-websocket:java-websocket:1.3.2"
60+
```
61+
62+
5263
### Leiningen
5364

5465
``` bash
55-
lein compile
66+
[org.java-websocket/java-websocket "1.3.2"]
5667
```
5768

5869
Running the Examples

0 commit comments

Comments
 (0)