File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -492,6 +492,7 @@ channel.isSubscribed(); // => `true`/`false`
492492The JavaDocs can be found here: < http://pusher.github.com/pusher-websocket-java/ >
493493
494494## Library Development Environment
495+ If you'd like to tweak this library there are ways to use your local code rather than the official.
495496
496497### Prerequisites
497498
@@ -504,6 +505,21 @@ The JavaDocs can be found here: <http://pusher.github.com/pusher-websocket-java/
504505* Clone the project: ` git clone https://github.com/pusher/pusher-java-client `
505506* Change to the top level directory for the project: ` cd pusher-java-client `
506507
508+ ### Android Studio
509+ * In your app project's ` settings.gradle ` add the following lines:
510+
511+ ```
512+ include ':pusher-websocket-java'
513+ project(':pusher-websocket-java').projectDir = new File('<PATH_TO_THIS_PROJECT>/pusher-websocket-java')
514+ ```
515+ * Add the following line to your application's ` build.gradle ` where you would normally add the actual ` pusher-websocket-java ` SDK:
516+
517+ ```
518+ dependencies {
519+ compile project(':pusher-websocket-java')
520+ }
521+ ```
522+
507523### Eclipse Project
508524
509525Assuming you are using Eclipse, follow these steps:
You can’t perform that action at this time.
0 commit comments