Skip to content

Commit

Permalink
Changed dependency coding in build.gradle; also version no.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpaulm committed Jul 17, 2017
1 parent 2b6671d commit 0f7d150
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ JavaFBP Support for WebSockets
General
---

**Latest release: `javafbp-websockets-1.2.1`**
**Latest release: `javafbp-websockets-1.2.2`**

This project comprises some components which support WebSockets for JavaFBP, plus a test case to illustrate their use. The components are basically **@tootallnate**'s AutobahnServerTest code - see https://github.com/TooTallNate/Java-WebSocket - split into two JavaFBP components: `WebSocketReceive` and `WebSocketRespond`.

Expand Down Expand Up @@ -53,7 +53,7 @@ Run `git init` to create the `.git` directory.

Run `git clone https://github.com/jpaulm/javafbp-websockets.git`

Run `gradle build` in your JavaFBP-WebSockets directory - this will create a `javafbp-websockets-1.2.1.jar` file in the `build/libs` directory - this also contains a test network, called `TestWebSockets.java`, the various files from the two jar files listed in `build.gradle` as dependencies, and a couple of "chat" HTML5 scripts. This only has to be done once.
Run `gradle build` in your JavaFBP-WebSockets directory - this will create a `javafbp-websockets-1.2.2.jar` file in the `build/libs` directory - this also contains a test network, called `TestWebSockets.java`, the various files from the two jar files listed in `build.gradle` as dependencies, and a couple of "chat" HTML5 scripts. This only has to be done once.

Running a test
----
Expand All @@ -65,7 +65,7 @@ Note: if your default browser gives you a message saying it does not support Web

You can run the command-line test Server code in com.jpmorrsn.fbp.websockets.networks.TestWebSockets by entering in the project directory

java -cp "build/libs/javafbp-websockets-1.2.1.jar" com.jpaulmorrison.fbp.examples.networks.TestWebSockets
java -cp "build/libs/javafbp-websockets-1.2.2.jar" com.jpaulmorrison.fbp.examples.networks.TestWebSockets

(note the double quotes).

Expand Down
14 changes: 7 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ apply plugin: 'signing'



version = '1.2.1'
version = '1.2.2'
group = 'com.jpaulmorrison'

description = 'JavaFBP support for WebSockets'
Expand All @@ -42,11 +42,11 @@ repositories {
dependencies {
//compile files('C:/Program Files/Java/jdk1.8.0_101/lib/tools.jar')

compile group: "org.java-websocket", name: "Java-WebSocket", version: "[1.3,)"
compile group: "com.jpaulmorrison", name: "javafbp", version: "[4.1,)"
compile group: "org.java-websocket", name: "Java-WebSocket", version: "1.3.4"
compile group: "com.jpaulmorrison", name: "javafbp", version: "4.1.0"

runtime group: "org.java-websocket", name: "Java-WebSocket", version: "[1.3,)"
runtime group: "com.jpaulmorrison", name: "javafbp", version: "[4.1,)"
runtime group: "org.java-websocket", name: "Java-WebSocket", version: "1.3.4"
runtime group: "com.jpaulmorrison", name: "javafbp", version: "4.1.0"
}

jar {
Expand Down Expand Up @@ -119,7 +119,7 @@ task writeNewPom << {
project {
groupId 'com.jpaulmorrison'
artifactId 'javafbp-websockets'
version '1.2.1'
version '1.2.2'

inceptionYear '2016'
licenses {
Expand Down Expand Up @@ -153,7 +153,7 @@ uploadArchives {
packaging 'jar'
artifactId 'javafbp-websockets'
url 'https://github.com/jpaulm/javafbp-websockets'
version '1.2.1'
version '1.2.2'

scm {
connection 'scm:git:https://github.com/jpaulm.git'
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.jpaulmorrison</groupId>
<artifactId>javafbp-websockets</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
<inceptionYear>2016</inceptionYear>
<licenses>
<license>
Expand All @@ -16,13 +16,13 @@
<dependency>
<groupId>org.java-websocket</groupId>
<artifactId>Java-WebSocket</artifactId>
<version>[1.3,)</version>
<version>1.3.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.jpaulmorrison</groupId>
<artifactId>javafbp</artifactId>
<version>[4.1,)</version>
<version>4.1.0</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ public final class VersionAndTimestamp {
*
*/

private static String version = "JavaFBP-WebSockets - version 1.2.1";
private static String version = "JavaFBP-WebSockets - version 1.2.2";

private static String date = "12 July, 2017";
private static String date = "17 July, 2017";

static String getVersion() {
return version;
Expand Down

0 comments on commit 0f7d150

Please sign in to comment.