| | |
| | | applicationId "com.hdl.photovoltaic" |
| | | minSdkVersion 23 |
| | | targetSdkVersion 34 |
| | | versionCode 2 |
| | | versionName "1.5.1"//版本规则1.3是产品功能迭代用的,最后一位0是我们修复bug用的 |
| | | versionCode 4 |
| | | versionName "1.0.0"//版本规则1.3是产品功能迭代用的,最后一位0是我们修复bug用的 |
| | | testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
| | | multiDexEnabled true |
| | | manifestPlaceholders = mfph |
| | |
| | | */ |
| | | android.applicationVariants.configureEach { variant -> |
| | | variant.outputs.configureEach { |
| | | outputFileName = "photovoltaic_v${versionName}_${generateTime()}_${getEnvironmentVersion(2)}.apk" |
| | | outputFileName = "photovoltaic_v${versionName}_${generateTime()}_${getEnvironmentVersion(4)}.apk" |
| | | } |
| | | } |
| | | |
| | |
| | | |
| | | buildFeatures { |
| | | viewBinding true |
| | | aidl true |
| | | } |
| | | compileOptions { |
| | | sourceCompatibility JavaVersion.VERSION_1_8 |
| | |
| | | implementation project(path: ':third-zxing') |
| | | //Link本地库(在线依赖网络库) |
| | | implementation 'com.hdl.android:pmsdk:1.0.9' |
| | | implementation 'com.hdl.android:debugsdk:1.0.71' |
| | | // implementation project(path:':sdk') |
| | | // implementation 'com.hdl.android:debugsdk:1.0.71' |
| | | implementation project(path: ':sdk') |
| | | |
| | | testImplementation 'junit:junit:4.13.2' |
| | | androidTestImplementation 'androidx.test.ext:junit:1.1.3' |