|  |  |  | 
|---|
|  |  |  | apply plugin: 'com.android.application' | 
|---|
|  |  |  |  | 
|---|
|  |  |  | android { | 
|---|
|  |  |  | signingConfigs { | 
|---|
|  |  |  | debug { | 
|---|
|  |  |  | storeFile file('../dycz.jks') | 
|---|
|  |  |  | storePassword 'dycz@2023' | 
|---|
|  |  |  | keyAlias 'dayu' | 
|---|
|  |  |  | keyPassword 'dycz@2023' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | namespace 'com.dayu.recharge' | 
|---|
|  |  |  | compileSdk 33 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | defaultConfig { | 
|---|
|  |  |  | applicationId "com.dayu.recharge" | 
|---|
|  |  |  | minSdk 23 | 
|---|
|  |  |  | targetSdk 33 | 
|---|
|  |  |  | versionCode 1 | 
|---|
|  |  |  | versionName "1.0" | 
|---|
|  |  |  |  | 
|---|
|  |  |  | targetSdk 26 | 
|---|
|  |  |  | versionCode 22 | 
|---|
|  |  |  | versionName "2.2" | 
|---|
|  |  |  | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" | 
|---|
|  |  |  |  | 
|---|
|  |  |  | ndk { | 
|---|
|  |  |  | abiFilters 'armeabi-v7a' | 
|---|
|  |  |  | } | 
|---|
|  |  |  | signingConfig signingConfigs.debug | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | buildTypes { | 
|---|
|  |  |  | 
|---|
|  |  |  | sourceCompatibility JavaVersion.VERSION_1_8 | 
|---|
|  |  |  | targetCompatibility JavaVersion.VERSION_1_8 | 
|---|
|  |  |  | } | 
|---|
|  |  |  | dataBinding { | 
|---|
|  |  |  | enabled = true; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | viewBinding { | 
|---|
|  |  |  | enabled = true; | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //    repositories { | 
|---|
|  |  |  | //         flatDir { | 
|---|
|  |  |  | //            dirs 'libs' | 
|---|
|  |  |  | //        } | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|
|  |  |  | //ps:dycz@2023 | 
|---|
|  |  |  | //alias:dayu | 
|---|
|  |  |  | //ps:dycz@2023 | 
|---|
|  |  |  | dependencies { | 
|---|
|  |  |  | implementation fileTree(include: ['*.jar'], dir: 'libs') | 
|---|
|  |  |  | //    implementation 'androidx.appcompat:appcompat:1.6.1' | 
|---|
|  |  |  | //    implementation 'com.google.android.material:material:1.10.0' | 
|---|
|  |  |  | implementation fileTree(include: ['*.jar', '*.aar'], dir: 'libs') | 
|---|
|  |  |  | compileOnly 'com.android.support:appcompat-v7:28.0.0' | 
|---|
|  |  |  | compileOnly 'com.android.support.constraint:constraint-layout:1.1.3' | 
|---|
|  |  |  | compileOnly 'androidx.core:core-ktx:1.8.0' | 
|---|
|  |  |  | compileOnly 'androidx.appcompat:appcompat:1.5.0' | 
|---|
|  |  |  | //room数据库 | 
|---|
|  |  |  | 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.android.support:appcompat-v7:28.0.0' | 
|---|
|  |  |  | //    implementation('com.jakewharton:butterknife:9.0.0') { | 
|---|
|  |  |  | //        exclude group: 'com.android.support:annotations-v7:28.0.0'; | 
|---|
|  |  |  | //        exclude group: 'android.arch.core:common:1.1.1' | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | //    implementation project(path: ':pickerviewlibrary') | 
|---|
|  |  |  | //    implementation files('libs\\AMap_Location_V6.2.0_20221026.jar') | 
|---|
|  |  |  | //    annotationProcessor('com.jakewharton:butterknife-compiler:9.0.0') { | 
|---|
|  |  |  | //        exclude group: 'android.arch.core:common:1.1.1' | 
|---|
|  |  |  | //    } | 
|---|
|  |  |  | //    implementation 'com.android.support:support-v4:28.0.0-alpha1' | 
|---|
|  |  |  | //    implementation 'org.xutils:xutils:3.8.5' | 
|---|
|  |  |  | //    implementation files('libs/core-3.3.0.jar') | 
|---|
|  |  |  | implementation 'com.google.zxing:core:3.4.1' | 
|---|
|  |  |  | implementation group: 'net.sourceforge.jexcelapi', name: 'jxl', version: '2.6.12' | 
|---|
|  |  |  | implementation 'com.wang.avi:library:2.1.3' | 
|---|
|  |  |  | implementation project(':pickerviewlibrary') | 
|---|
|  |  |  | implementation project(':easysocket') | 
|---|
|  |  |  | implementation 'com.tencent.bugly:crashreport:latest.release' | 
|---|
|  |  |  |  | 
|---|
|  |  |  | implementation project(':henanlibrary') | 
|---|
|  |  |  | implementation project(':baselibrary') | 
|---|
|  |  |  | implementation project(':qihealonelibrary') | 
|---|
|  |  |  |  | 
|---|
|  |  |  | implementation 'com.tencent.bugly:crashreport:4.1.9.3' | 
|---|
|  |  |  | //    处理图片 | 
|---|
|  |  |  | //    implementation (name: 'ocr-library', ext: 'aar') | 
|---|
|  |  |  | //权限申请 | 
|---|
|  |  |  | implementation 'com.github.getActivity:XXPermissions:18.5' | 
|---|
|  |  |  | //滚动选择框 | 
|---|
|  |  |  | implementation 'com.contrarywind:Android-PickerView:4.1.9' | 
|---|
|  |  |  |  | 
|---|
|  |  |  | //列表 | 
|---|
|  |  |  | implementation 'io.github.scwang90:refresh-layout-kernel:2.0.5' | 
|---|
|  |  |  | implementation 'io.github.scwang90:refresh-header-classics:2.0.5' | 
|---|
|  |  |  | implementation 'androidx.recyclerview:recyclerview:1.2.0'//经典刷新头 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | implementation 'io.reactivex.rxjava3:rxandroid:3.0.0' | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | } | 
|---|