Skip to content

Commit 309bdfb

Browse files
author
Jasmin Sehic
committed
Added Clojure project.clj for easy compile and deploy to clojars.org and updated build.gradle to 1.3.1
1 parent 05d2e2e commit 309bdfb

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

README.markdown

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Implemented WebSocket protocol versions are:
1919

2020

2121
##Build
22-
You can build using Ant or Maven but there is nothing against just putting the source path ```src/main/java ``` on your applications buildpath.
22+
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.
2323

2424
###Ant
2525

@@ -42,6 +42,12 @@ To use maven just add this dependency to your pom.xml:
4242
</dependency>
4343
```
4444

45+
### Leiningen
46+
47+
``` bash
48+
lein compile
49+
```
50+
4551
Running the Examples
4652
-------------------
4753

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)