左晓为主开发手持机充值管理机
zuoxiao
2025-04-11 040f1aba13b179ff318366680a6346af7fd97795
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'