123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115 |
- apply plugin: 'com.android.application'
- apply plugin: 'org.greenrobot.greendao'
- android {
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
- defaultConfig {
- applicationId "com.tofly.yxpc"
- minSdkVersion 21
-
- targetSdkVersion 29
- versionCode 90
- versionName "9.0"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- ndk {
- abiFilters 'arm64-v8a'
- }
- }
- signingConfigs {
- release {
- storeFile file('D:\\Code\\yx_pc\\yx_keystore.jks')
- storePassword 'tofly028'
- keyAlias 'zm'
- keyPassword 'tofly028'
- }
- }
- buildTypes {
- release {
-
- zipAlignEnabled true
-
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- buildFeatures {
- viewBinding = true
- dataBinding = true
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- greendao {
- schemaVersion 13
- daoPackage 'com.tofly.yxpc.greenDao'
-
- targetGenDir 'src/main/java'
- generateTests false
- targetGenDirTests 'src/main/java'
- }
- android.applicationVariants.configureEach { variant ->
- variant.outputs.configureEach { output ->
- def outputFile = output.outputFile
- if (outputFile != null && outputFile.name.endsWith('.apk')) {
- if (variant.buildType.name == 'release') {
- outputFileName = "yx_pc-${defaultConfig.versionName}.apk"
- } else if (variant.buildType.name == ('debug')) {
- outputFileName = "yx_pc-${defaultConfig.versionName}.apk"
- }
- }
- def fileName = "yx_pc-${variant.versionName}.apk"
- outputFileName = fileName
- }
- }
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar"])
-
- implementation 'androidx.appcompat:appcompat:1.3.0-alpha02'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.2'
- implementation project(path: ':latte-core')
- implementation project(path: ':graffiti')
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.3'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
- annotationProcessor 'com.jakewharton:butterknife-compiler:10.2.3'
- implementation 'com.journeyapps:zxing-android-embedded:3.6.0'
- implementation 'org.greenrobot:greendao:3.3.0'
- implementation 'com.github.yuweiguocn:GreenDaoUpgradeHelper:v2.0.2'
-
- implementation 'com.makeramen:roundedimageview:2.2.1'
-
-
- implementation 'com.amap.api:location:5.2.0'
-
- implementation 'com.amap.api:search:7.7.0'
-
- implementation 'com.amap.api:navi-3dmap:7.7.1_3dmap7.7.0'
-
- implementation 'id.zelory:compressor:2.1.1'
- implementation 'com.jph.takephoto:takephoto_library:4.0.3'
- implementation 'com.github.yellowcath:VideoProcessor:2.4.0'
- implementation 'cn.jzvd:jiaozivideoplayer:7.7.0'
- implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
- implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8'
- implementation 'com.kyleduo.switchbutton:library:1.4.1'
-
-
- }
|