升级room

This commit is contained in:
董宏宇
2021-09-07 11:38:38 +08:00
parent 4b3133d412
commit 0aacdacb31
5 changed files with 85 additions and 89 deletions

View File

@@ -31,8 +31,8 @@ ext {
flexbox : 'com.google.android:flexbox:2.0.1',
// 测试
junit : "junit:junit:4.12",
androidxjunit : "androidx.test.ext:junit:1.1.0",
androidxespressocore : "androidx.test.espresso:espresso-core:3.1.1",
androidxjunit : "androidx.test.ext:junit:1.1.2",
androidxespressocore : "androidx.test.espresso:espresso-core:3.3.0",
// 地图
amapnavi3dmap : "com.amap.api:navi-3dmap:7.2.0_3dmap7.2.0",
amapsearch : "com.amap.api:search:7.1.0",
@@ -45,7 +45,7 @@ ext {
testleakcanary : "com.squareup.leakcanary:leakcanary-android-no-op:1.6.1",
//rxJava
rxjava : "io.reactivex.rxjava2:rxjava:2.2.2",
rxandroid : "io.reactivex.rxjava2:rxandroid:2.1.0",
rxandroid : "io.reactivex.rxjava2:rxandroid:2.1.1",
// arouter
arouter : "com.alibaba:arouter-api:1.5.2",
aroutercompiler : "com.alibaba:arouter-compiler:1.5.2",
@@ -75,12 +75,6 @@ ext {
leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.5.4',
leakcanarynoop : 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4',
// add for room
room : 'androidx.room:room-runtime:2.0.0',
roomAnnotationProcessor : 'androidx.room:room-compiler:2.0.0',
// rxjava2 with room
roomRxjava : 'androidx.room:room-rxjava2:2.0.0',
// material
material : 'com.google.android.material:material:1.4.0',
@@ -195,6 +189,8 @@ ext {
androidxroomruntime : "androidx.room:room-runtime:2.2.3",
androidxroomcompiler : "androidx.room:room-compiler:2.2.3",
androidxroomktx : "androidx.room:room-ktx:2.2.3",
// rxjava2 with room
roomRxjava : 'androidx.room:room-rxjava2:2.2.3',
//
mogomodulewidgets : "com.mogo.module:module-widgets:${MOGO_MODULE_WIDGETS_VERSION}",