Skip to content

Commit 4cac972

Browse files
author
Anya Zenkina
committed
change readme about testing locally
1 parent 1894ed2 commit 4cac972

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,21 @@ The JavaDocs can be found here: <http://pusher.github.com/pusher-websocket-java/
504504
* Clone the project: `git clone https://github.com/pusher/pusher-java-client`
505505
* Change to the top level directory for the project: `cd pusher-java-client`
506506

507+
### Android Studio
508+
* In your app project's `settings.gradle` add the following lines:
509+
510+
```
511+
include ':pusher-websocket-java'
512+
project(':pusher-websocket-java').projectDir = new File('<PATH_TO_THIS_PROJECT>/pusher-websocket-java')
513+
```
514+
* Add the following line to your application's `build.gradle` where you would normally add the actual `pusher-websocket-java` SDK:
515+
516+
```
517+
dependencies {
518+
compile project(':pusher-websocket-java')
519+
}
520+
```
521+
507522
### Eclipse Project
508523

509524
Assuming you are using Eclipse, follow these steps:

0 commit comments

Comments
 (0)