Skip to content

Commit

Permalink
update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
liujingxing committed May 11, 2021
1 parent 4558302 commit 85fd724
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@
新版本仅支持AndroidX项目
```java
dependencies {
//kotlin协程
implementation 'com.github.liujingxing.rxlife:rxlife-coroutine:2.1.0'

//rxjava2
implementation 'com.ljx.rxlife2:rxlife-rxjava:2.0.0'
implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.1.0'

//rxjava3
implementation 'com.ljx.rxlife3:rxlife-rxjava:3.0.0'
implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.1.0'
}
```

Expand Down
6 changes: 3 additions & 3 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ dependencies {
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'

implementation "com.ljx.rxhttp:rxhttp:2.5.7"
kapt "com.ljx.rxhttp:rxhttp-compiler:2.5.7"
implementation "com.github.liujingxing.rxhttp:rxhttp:${rxhttp_version}"
kapt "com.github.liujingxing.rxhttp:rxhttp-compiler:${rxhttp_version}"
implementation "com.squareup.okhttp3:okhttp:4.9.1"
implementation project(':rxlife-rxjava3')
// implementation 'com.ljx.rxlife:rxlife-x:3.0.1'
// implementation 'com.github.liujingxing.rxlife:rxlife-rxjava3:2.0.0-beta5'
implementation 'io.reactivex.rxjava3:rxjava:3.0.6'
implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0"
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ org.gradle.jvmargs=-Xmx1536m
# org.gradle.parallel=true
android.useAndroidX=true
android.enableJetifier=true

rxhttp_version=2.6.0-beta15

0 comments on commit 85fd724

Please sign in to comment.