Skip to content

Commit a1cc1eb

Browse files
authored
Merge pull request TooTallNate#298 from jasminsehic/ClojureBuild
Added Clojure project.clj for easy compile and deploy of 1.3.1
2 parents 1520eaa + 5fa66db commit a1cc1eb

File tree

3 files changed

+32
-3
lines changed

3 files changed

+32
-3
lines changed

README.markdown

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ Implemented WebSocket protocol versions are:
1818
[Here](https://github.com/TooTallNate/Java-WebSocket/wiki/Drafts) some more details about protocol versions/drafts.
1919

2020

21-
## Build
22-
You can build using Ant but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
21+
##Build
22+
You can build using Ant or Leiningen but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
2323

2424
### Ant
2525

@@ -31,6 +31,13 @@ will create the javadoc of this library at ```doc/``` and build the library itse
3131

3232
The ant targets are: ```compile```, ```jar```, ```doc``` and ```clean```
3333

34+
35+
### Leiningen
36+
37+
``` bash
38+
lein compile
39+
```
40+
3441
Running the Examples
3542
-------------------
3643

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repositories {
99
}
1010

1111
group = 'org.java_websocket'
12-
version = '1.2.1-SNAPSHOT'
12+
version = '1.3.1'
1313
sourceCompatibility = 1.6
1414
targetCompatibility = 1.6
1515

project.clj

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
(defproject org.java-websocket/java-websocket "1.3.1"
2+
:description "A barebones WebSocket client and server implementation written 100% in Java"
3+
:url "http://java-websocket.org/"
4+
:scm {:name "git"
5+
:url "https://github.com/TooTallNate/Java-WebSocket"}
6+
:license {:name "MIT License"
7+
:url "https://github.com/TooTallNate/Java-WebSocket/blob/master/LICENSE"}
8+
:source-paths []
9+
:java-source-paths ["src/main/java"]
10+
:javac-options ["-target" "1.6" "-source" "1.6" "-Xlint:-options"]
11+
:signing {:gpg-key "C8F8CC77"}
12+
:deploy-repositories [["clojars" {:creds :gpg}]]
13+
:pom-addition [:developers [:developer
14+
[:name "Nathan Rajlich"]
15+
[:url "https://github.com/TooTallNate"]
16+
[:email "nathan@tootallnate.net"]]
17+
[:developer
18+
[:name "David Rohmer"]
19+
[:url "https://github.com/Davidiusdadi"]
20+
[:email "rohmer.david@gmail.com"]]])
21+
22+

0 commit comments

Comments
 (0)