Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,6 +492,7 @@ channel.isSubscribed(); // => `true`/`false`
The JavaDocs can be found here: <http://pusher.github.com/pusher-websocket-java/>

## Library Development Environment
If you'd like to tweak this library there are ways to use your local code rather than the official.

### Prerequisites

Expand All @@ -504,6 +505,21 @@ The JavaDocs can be found here: <http://pusher.github.com/pusher-websocket-java/
* Clone the project: `git clone https://github.com/pusher/pusher-java-client`
* Change to the top level directory for the project: `cd pusher-java-client`

### Android Studio
* In your app project's `settings.gradle` add the following lines:

```
include ':pusher-websocket-java'
project(':pusher-websocket-java').projectDir = new File('<PATH_TO_THIS_PROJECT>/pusher-websocket-java')
```
* Add the following line to your application's `build.gradle` where you would normally add the actual `pusher-websocket-java` SDK:

```
dependencies {
compile project(':pusher-websocket-java')
}
```

### Eclipse Project

Assuming you are using Eclipse, follow these steps:
Expand Down