Skip to content

Commit

Permalink
Lib is available on jCenter. Removed appcompat as lib dependency.
Browse files Browse the repository at this point in the history
  • Loading branch information
patloew committed Mar 11, 2016
1 parent 9023607 commit 520b04b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 12 deletions.
8 changes: 2 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Reactive Wearable API Library for Android

[![Build Status](https://travis-ci.org/patloew/RxWear.svg?branch=master)](https://travis-ci.org/patloew/RxWear) [ ![Download](https://api.bintray.com/packages/patloew/maven/com.patloew.rxwear/images/download.svg) ](https://bintray.com/patloew/maven/com.patloew.rxwear/_latestVersion) [![API](https://img.shields.io/badge/API-9%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=9)
[![Build Status](https://travis-ci.org/patloew/RxWear.svg?branch=master)](https://travis-ci.org/patloew/RxWear) [ ![Download](https://api.bintray.com/packages/patloew/maven/RxWear/images/download.svg) ](https://bintray.com/patloew/maven/RxWear/_latestVersion) [![API](https://img.shields.io/badge/API-9%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=9)

This library wraps the Wearable API in [RxJava](https://github.com/ReactiveX/RxJava) Observables. No more managing GoogleApiClients! Also, there are some helper classes, which ease communication between phone and wear app.

Expand Down Expand Up @@ -76,11 +76,7 @@ A basic sample app is available in the `sample` and `wearsample` projects.

# Setup

Add the following to your `build.gradle`:

repositories {
maven { url 'https://dl.bintray.com/patloew/maven' }
}
The lib is available on jCenter. Add the following to your `build.gradle`:

dependencies {
compile 'com.patloew.rxwear:rxwear:1.0.0'
Expand Down
1 change: 0 additions & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ android {

dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile 'com.android.support:appcompat-v7:23.2.0'
compile 'io.reactivex:rxjava:1.1.1'
compile 'com.google.android.gms:play-services-wearable:8.4.0'

Expand Down
2 changes: 1 addition & 1 deletion library/src/main/java/com/patloew/rxwear/RxWear.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public class RxWear {

private static RxWear instance = null;

private static @NonNull Long timeoutTime = null;
private static Long timeoutTime = null;
private static TimeUnit timeoutUnit = null;

private final Context ctx;
Expand Down
4 changes: 2 additions & 2 deletions sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ dependencies {
compile "com.android.support:design:23.2.0"
compile "com.android.support:gridlayout-v7:23.2.0"

compile project(':library')
//compile 'com.patloew.rxwear:rxwear:1.0.0'
//compile project(':library')
compile 'com.patloew.rxwear:rxwear:1.0.0'

compile 'io.reactivex:rxjava:1.1.1'
compile 'io.reactivex:rxandroid:1.1.0'
Expand Down
4 changes: 2 additions & 2 deletions wearsample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ dependencies {
compile 'com.google.android.support:wearable:1.3.0'
compile 'com.google.android.gms:play-services-wearable:8.4.0'

compile project(':library')
//compile 'com.patloew.rxwear:rxwear:1.0.0'
//compile project(':library')
compile 'com.patloew.rxwear:rxwear:1.0.0'

compile 'io.reactivex:rxjava:1.1.1'
compile 'io.reactivex:rxandroid:1.1.0'
Expand Down

0 comments on commit 520b04b

Please sign in to comment.