左晓为主开发手持机充值管理机
zuojincheng
2025-04-07 15a3fc02c120ff630a9721a2f48a82f76675213f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
apply plugin: 'com.android.library'
 
android {
    namespace 'com.dayu.baselibrary'
    compileSdk 34
    defaultConfig {
        minSdk 23
        targetSdk 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }
 
    buildTypes {
        release {
            minifyEnabled true
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_1_8
        targetCompatibility JavaVersion.VERSION_1_8
    }
    dataBinding {
        enabled = true;
    }
    viewBinding {
        enabled = true;
    }
    sourceSets {
        main {
            aidl.srcDirs = ['src/main/aidl']
        }
    }
}
 
dependencies {
 
 
    implementation fileTree(include: ['*.jar'], dir: 'exlibs')
 
    implementation 'com.android.support:appcompat-v7:28.0.0'
    implementation 'com.android.support.constraint:constraint-layout:1.1.3'
    implementation 'androidx.core:core-ktx:1.8.0'
    implementation 'androidx.appcompat:appcompat:1.5.0'
 
    compileOnly 'com.google.zxing:core:3.4.1'
    compileOnly 'com.tencent.bugly:crashreport:4.1.9.3'
    implementation project(':pickerviewlibrary')
    //loding
//    implementation 'com.wang.avi:library:2.1.3'
 
    //滚动选择框
//    compileOnly 'com.contrarywind:Android-PickerView:4.1.9'
 
    implementation "androidx.room:room-runtime:2.3.0"
    implementation "androidx.room:room-ktx:2.3.0"
    runtimeOnly("androidx.room:room-common:2.3.0")
    annotationProcessor "androidx.room:room-compiler:2.3.0"
    implementation 'com.pnikosis:materialish-progress:1.7'
    //权限申请
    compileOnly 'com.github.getActivity:XXPermissions:18.5'
 
    //通信
    implementation 'com.squareup.retrofit2:retrofit:2.9.0'
    implementation('com.squareup.retrofit2:converter-gson:2.9.0') {
        exclude group: 'com.google.code.gson';
    }
    implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0'
    implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
    implementation 'com.squareup.okhttp3:logging-interceptor:4.11.0'
}