Skip to content

Commit

Permalink
Fixed lifecycle everywhere and moved rxlifecycle to misc in dependenc…
Browse files Browse the repository at this point in the history
…ies.gradle
  • Loading branch information
bangarharshit committed Oct 21, 2017
1 parent ad33a87 commit cbf3e10
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion autodispose-rxlifecycle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies {
testApt deps.build.nullAway

compile project(':autodispose')
api deps.rx.lifecycle
api deps.misc.lifecycle
compileOnly deps.misc.errorProneAnnotations
compileOnly deps.misc.javaxExtras

Expand Down
2 changes: 1 addition & 1 deletion autodispose-rxlifecycle/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
POM_NAME=AutoDispose (RXLifeCycle Interop)
POM_NAME=AutoDispose (RXLifecycle Interop)
POM_ARTIFACT_ID=autodispose-rxlifecycle
POM_PACKAGING=jar
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public void bindLifecycle_outsideLifecycleBound_unsubscribe() {
source.onNext(2);
o.assertNoMoreEvents();
assertThat(
source.hasObservers()).isFalse(); // Because RXLifeCycle treats lifecycle ended exception as terminal event.
source.hasObservers()).isFalse(); // Because RXLifecycle treats lifecycle ended exception as terminal event.
}

@Test
Expand Down
6 changes: 3 additions & 3 deletions gradle/dependencies.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,13 @@ def kotlin = [
def misc = [
errorProneAnnotations: "com.google.errorprone:error_prone_annotations:${versions.errorProne}",
javaxExtras: "com.uber.javaxextras:javax-extras:0.1.0",
jsr305: 'com.google.code.findbugs:jsr305:3.0.2'
jsr305: 'com.google.code.findbugs:jsr305:3.0.2',
lifecycle: 'com.trello.rxlifecycle2:rxlifecycle:2.2.0'
]

def rx = [
android: 'io.reactivex.rxjava2:rxandroid:2.0.1',
java: 'io.reactivex.rxjava2:rxjava:2.1.0',
lifecycle: 'com.trello.rxlifecycle2:rxlifecycle:2.2.0'
java: 'io.reactivex.rxjava2:rxjava:2.1.0'
]

def support = [
Expand Down

0 comments on commit cbf3e10

Please sign in to comment.