taxiapp/app/build.gradle

244 lines
10 KiB
Groovy
Raw Permalink Normal View History

2022-09-23 11:55:44 +08:00
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
apply plugin: 'org.greenrobot.greendao' // 添加应用依赖插件
android {
signingConfigs {
releaseSoft {
storeFile file("../taxiApp.jks")
storePassword '123456'
keyAlias 'taxi'
keyPassword '123456'
}
}
compileSdkVersion 29
buildToolsVersion "29.0.2"
defaultConfig {
2024-11-05 19:25:55 +08:00
// VehiclePlayer
2022-09-23 11:55:44 +08:00
applicationId "net.sysolution.taxiapp"
2024-11-05 19:25:55 +08:00
// applicationId "net.sysolution.vehicleplayer"
2022-09-23 11:55:44 +08:00
minSdkVersion 21
targetSdkVersion 29
2024-11-05 19:25:55 +08:00
versionCode 259
2024-11-06 19:02:40 +08:00
versionName "3.3.3-beta26.4.1.8-release"
2022-09-23 11:55:44 +08:00
//alphaxx - 预览版本,不会对外发布由测试人员测试会有很多bug
//Betaxx - 公开测试版本,会发给其他工作人员,会有较多版本
//rcxx - 最终测试版本基本稳定如果没发现其他bug就转正式
//3.1.0第一次启动会删除之前的广告
//3.1.1关闭第一次启动会删除之前的广告
//3.1.10 发送异常并写入日志
//3.2.0开机直接播放广告
//333-10 去掉crashHandler
//333-11 去掉KuroLog日志
//333-20 转凭证conn没被改到问题
//333-21 下载素材时去掉isdownloading的判断
//333-24 修复有视频不下载的情况
2022-09-23 11:55:44 +08:00
/*
333-26
26.3 广gps定点日志开关默认改为关闭30s改为两分钟发一次10s改为30s
conn,
26.3.2
26.3.3 广
26.3.7 线30s发一次10s,
2023-08-09 14:01:24 +08:00
26.3.8.8debug logo图,logo问题logo
26.3.8.9debug 广ledOk重复绑定同一个凭证会被过滤3s没gps信息清除定点广告改成30s
gps信息gps则判断是否有定点广告
26.3.8 logo
2023-09-01 16:13:32 +08:00
26.3.8.2 taxiApp刷新列表时使广广
26.3.8.3 taxiApp刷新列表时广,广regions也加入缓存机制
26.3.8.6.9 38s
26.3.9 webSocket的连接保活代码gps坐标记录两个点的距离由原来的50米记录一次改为20米记录一次
2023-10-17 18:12:23 +08:00
3.3.3-beta26.3.9.3.94 gps开关查询广
3.3.3-beta26.3.9.3.95
26.3.9.96 广
2023-12-12 16:29:08 +08:00
26.3.9.98 taxiApp当天的运行时间
26.3.9.99
2024-03-20 10:19:51 +08:00
广z繁切换会出现黑屏问题
3.3.3-beta26.4.0.6-release GPS,
3.3.3-beta26.4.0.7-release GPS上报2502508
3.3.3-beta26.4.1.2-release GPS卫星数量为0时频繁刷新问题
3.3.3-beta26.4.1.4-release GPS日志时100gps日志时2
2024-11-05 19:25:55 +08:00
3.3.3-beta26.4.1.5-release 广,2
3.3.3-beta26.4.1.6-release 广,2
3.3.3-beta26.4.1.7-release +,广
,10
2024-11-06 19:02:40 +08:00
3.3.3-beta26.4.1.8-release ledokAPP发节目
**/
2022-09-23 11:55:44 +08:00
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
// Enabling multidex support.
multiDexEnabled true
signingConfig signingConfigs.releaseSoft
ndk {
abiFilters "armeabi", "armeabi-v7a", "x86", "mips"
}
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.releaseSoft
}
debug {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
signingConfig signingConfigs.releaseSoft
// resValue("string", "DB_PASSWORD_APP_SHARED_PREFERENCES", "66399266")
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
android.applicationVariants.all { variant ->
variant.outputs.all { output ->
def outputFile = output.outputFile
if (outputFile != null && outputFile.name.endsWith('.apk')) {
2024-11-05 19:25:55 +08:00
// outputFileName = "TaxiApp_v${defaultConfig.versionName}{${defaultConfig.versionCode}}.apk"
2022-09-23 11:55:44 +08:00
outputFileName = "TaxiApp_v${defaultConfig.versionName}{${defaultConfig.versionCode}}.apk"
2024-11-05 19:25:55 +08:00
// outputFileName = "VehiclePlayer_v${defaultConfig.versionName}{${defaultConfig.versionCode}}.apk"
2022-09-23 11:55:44 +08:00
}
}
}
}
//每升级一次数据库加一
greendao {
2024-03-20 10:19:51 +08:00
schemaVersion 46
2022-09-23 11:55:44 +08:00
daoPackage 'cn.trans88.taxiappkotlin.logic.dao'
targetGenDir 'src/main/java'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar','*.aar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
implementation 'androidx.appcompat:appcompat:1.2.0'
implementation "androidx.core:core-ktx:$core_ktx"
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
2023-03-11 16:48:52 +08:00
implementation project(path: ':kurolibrary')
2022-09-23 11:55:44 +08:00
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
//xixun
implementation files('libs/xixun_card_settings_1.2.4.jar')
//
// implementation 'com.trs.kuroTool:kuroTool:1.0.4'
implementation project(':kurotool')
//kotlin协程
2023-03-11 16:48:52 +08:00
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.3'
// implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.3'
2022-09-23 11:55:44 +08:00
//stetho调试
implementation 'com.facebook.stetho:stetho:1.5.1'
//网络调试数据库
implementation 'com.amitshekhar.android:debug-db:1.0.6'
implementation 'com.squareup.retrofit2:retrofit:2.6.1'
2022-09-23 11:55:44 +08:00
//logger
implementation 'com.orhanobut:logger:2.2.0'
//json解析
implementation 'com.squareup.retrofit2:converter-gson:2.7.1'
implementation 'com.alibaba:fastjson:1.2.46'
implementation 'com.alibaba:fastjson:1.2.46.android'
//Glide
implementation 'com.github.bumptech.glide:glide:4.10.0'
kapt 'com.github.bumptech.glide:compiler:4.10.0'
// annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0'
//xy
implementation 'com.github.xy02:ARxLib:0.1.5'
//Greendao数据库
//implementation 'org.greenrobot:greendao:3.2.2'
implementation 'org.greenrobot:greendao:3.3.0'
implementation 'com.github.yuweiguocn:GreenDaoUpgradeHelper:v2.2.1'
//下载
implementation 'com.liulishuo.filedownloader:library:1.7.5'
//jetpack
// implementation 'androidx.lifecycle:lifecycle-viewmodel:2.2.0'
//room
2023-03-11 16:48:52 +08:00
// implementation 'androidx.room:room-runtime:2.2.5'//room
// kapt "androidx.room:room-compiler:2.2.5"
2022-09-23 11:55:44 +08:00
//lifecycle协程
implementation "androidx.lifecycle:lifecycle-livedata-core-ktx:$livedata"
implementation "androidx.lifecycle:lifecycle-livedata-ktx:$livedata"
implementation "androidx.lifecycle:lifecycle-reactivestreams-ktx:$livedata"
implementation "androidx.lifecycle:lifecycle-runtime-ktx:$livedata"
implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:$livedata"
//权限申请
implementation 'com.permissionx.guolindev:permissionx:1.1.1'
//timber
2023-03-11 16:48:52 +08:00
// implementation 'com.jakewharton.timber:timber:4.7.1'
2022-09-23 11:55:44 +08:00
//他人库
implementation 'com.github.joeyupdo:YJTools:v1.0.5'
//jwt解析
2023-03-11 16:48:52 +08:00
// implementation 'io.jsonwebtoken:jjwt:0.9.1'
2022-09-23 11:55:44 +08:00
implementation 'net.zetetic:android-database-sqlcipher:3.5.7@aar'
//ljkPlayer
// implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8'
// implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8'
// implementation 'tv.danmaku.ijk.media:ijkplayer-exo:0.8.8'
// //exo
// implementation 'com.google.android.exoplayer:exoplayer:2.8.1'
2024-11-05 19:25:55 +08:00
implementation 'com.google.android.exoplayer:exoplayer:2.14.2'
implementation 'com.google.android.exoplayer:exoplayer-core:2.14.2'
implementation 'com.google.android.exoplayer:exoplayer-ui:2.14.2'
2022-09-23 11:55:44 +08:00
2023-03-11 16:48:52 +08:00
// implementation 'com.github.Trans88:KuroLibrary:0.1.3'
2024-03-20 10:19:51 +08:00
implementation 'com.zhouyou:rxeasyhttp:2.1.5'
implementation 'com.shuyu:gsyVideoPlayer-java:8.1.2'
2024-11-06 11:44:40 +08:00
//webserver
implementation 'com.koushikdutta.async:androidasync:3.1.0'
// implementation 'org.java-websocket:Java-WebSocket:1.5.7'
2024-11-05 19:25:55 +08:00
2024-03-20 10:19:51 +08:00
//根据你的需求ijk模式的so
implementation 'com.shuyu:gsyVideoPlayer-armv5:8.1.2'
implementation 'com.shuyu:gsyVideoPlayer-armv7a:8.1.2'
implementation 'com.shuyu:gsyVideoPlayer-arm64:8.1.2'
implementation 'com.shuyu:gsyVideoPlayer-x64:8.1.2'
implementation 'com.shuyu:gsyVideoPlayer-x86:8.1.2'
2024-11-05 19:25:55 +08:00
// implementation files('libs/jackson.jar')
// implementation files('libs/ormlite-android-4.45.jar')
2022-09-23 11:55:44 +08:00
}