From dd0f9e5f533d868d68c5fc343a44356b537b3988 Mon Sep 17 00:00:00 2001 From: zuojincheng <lf_zuo@163.com> Date: 星期五, 06 六月 2025 15:36:45 +0800 Subject: [PATCH] feat(nfc): 新增用户卡写入功能并优化开卡流程 --- generallibrary/build.gradle | 17 ++++++++++++----- 1 files changed, 12 insertions(+), 5 deletions(-) diff --git a/generallibrary/build.gradle b/generallibrary/build.gradle index a598a66..b6e1600 100644 --- a/generallibrary/build.gradle +++ b/generallibrary/build.gradle @@ -13,6 +13,13 @@ testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles "consumer-rules.pro" + + // 娣诲姞Room鏁版嵁搴撶殑瀵煎嚭schema閫夐」 + javaCompileOptions { + annotationProcessorOptions { + arguments += ["room.schemaLocation": "$projectDir/schemas".toString()] + } + } } buildTypes { @@ -56,11 +63,10 @@ compileOnly project(':pickerviewlibrary') - //鏁版嵁搴� - implementation "androidx.room:room-runtime:2.3.0" - implementation "androidx.room:room-ktx:2.3.0" - runtimeOnly("androidx.room:room-common:2.3.0") - kapt "androidx.room:room-compiler:2.3.0" + //鏁版嵁搴� - 鏇存柊鐗堟湰浠ユ洿濂芥敮鎸佸崗绋� + implementation "androidx.room:room-runtime:2.6.1" + implementation "androidx.room:room-ktx:2.6.1" + kapt "androidx.room:room-compiler:2.6.1" //鏉冮檺鐢宠 compileOnly 'com.github.getActivity:XXPermissions:18.5' @@ -71,6 +77,7 @@ exclude group: 'com.google.code.gson'; } implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0' + implementation 'io.reactivex.rxjava3:rxjava:3.1.5' implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' implementation 'com.squareup.okhttp3:logging-interceptor:4.11.0' compileOnly 'com.google.code.gson:gson:2.10.1' -- Gitblit v1.8.0