Browse Source

+ rxkotlin

drake 5 years ago
parent
commit
29ec9029ae
4 changed files with 6 additions and 1 deletions
  1. 1 1
      README.md
  2. 2 0
      net/build.gradle
  3. 2 0
      sample/build.gradle
  4. 1 0
      sample/src/main/java/com/drake/net/sample/MainActivity.kt

+ 1 - 1
README.md

@@ -54,7 +54,7 @@ allprojects {
 module of build.gradle
 
 ```groovy
-implementation 'com.github.liangjingkanji:Net:1.1.3'
+implementation 'com.github.liangjingkanji:Net:1.1.4'
 ```
 
 

+ 2 - 0
net/build.gradle

@@ -41,6 +41,8 @@ dependencies {
 
     compileOnly 'androidx.appcompat:appcompat:1.1.0'
     compileOnly 'com.github.liangjingkanji:BRV:1.0.6'
+
+    compileOnly 'io.reactivex.rxjava2:rxkotlin:2.3.0'
     compileOnly 'io.reactivex.rxjava2:rxandroid:2.1.1'
 
 }

+ 2 - 0
sample/build.gradle

@@ -39,4 +39,6 @@ dependencies {
     implementation 'com.squareup.moshi:moshi-kotlin:1.8.0'
     kapt 'com.squareup.moshi:moshi-kotlin-codegen:1.8.0'
     implementation 'com.github.liangjingkanji:BRV:1.0.6'
+    implementation 'io.reactivex.rxjava2:rxkotlin:2.3.0'
+    implementation 'io.reactivex.rxjava2:rxandroid:2.1.1'
 }

+ 1 - 0
sample/src/main/java/com/drake/net/sample/MainActivity.kt

@@ -9,5 +9,6 @@ class MainActivity : AppCompatActivity() {
         super.onCreate(savedInstanceState)
         setContentView(R.layout.activity_main)
 
+
     }
 }