Browse Source

New: make rxjava to api

liweihao 6 years ago
parent
commit
cff4f0b067
2 changed files with 2 additions and 4 deletions
  1. 2 2
      build.gradle
  2. 0 2
      readme.md

+ 2 - 2
build.gradle

@@ -38,8 +38,8 @@ dependencies {
     implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
     implementation "com.squareup.retrofit2:adapter-rxjava2:2.4.0"
 
-    implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
-    implementation 'io.reactivex.rxjava2:rxjava:2.2.1'
+    api 'io.reactivex.rxjava2:rxandroid:2.1.0'
+    api 'io.reactivex.rxjava2:rxjava:2.2.1'
 }
 repositories {
     mavenCentral()

+ 0 - 2
readme.md

@@ -6,8 +6,6 @@
 
 ```gradle
 dependencies {
-    implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
-    implementation 'io.reactivex.rxjava2:rxjava:2.2.1'
     implementation project(':bomocloud')
 }
 ```