123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- android {
- compileSdkVersion versions.compileSdk
- buildToolsVersion versions.buildTools
- defaultConfig {
- applicationId apps.applicationId
- minSdkVersion versions.minSdk
- targetSdkVersion versions.targetSdk
- versionCode versions.versionCode
- versionName versions.versionName
- manifestPlaceholders = [
- APP_NAME: apps.applicationName,
- APP_ID : apps.applicationId,
- ]
- buildConfigField("String", "APP_Name", "\"" + apps.applicationName + "\"")
- flavorDimensions "versioncode"
- }
- buildTypes {
- debug {
- minifyEnabled false
- signingConfig signingConfigs.debug
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- release {
- minifyEnabled false
- signingConfig signingConfigs.debug
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- applicationVariants.configureEach { variant ->
- variant.outputs.configureEach { output ->
- if ("debug" != variant.buildType.name) {
- def now = new Date()
- def path = "../../../../../apks/${variant.buildType.name}/v${defaultConfig.versionName}_" + now.format("yyyy.MM.dd_HH")
- outputFileName = path + "/${applicationId}.apk"
- }
- }
- }
- signingConfigs {
- debug {
- keyAlias 'livechat'
- keyPassword '123456'
- storeFile file('key.jks')
- storePassword '123456'
- }
- releaseConfig {}
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- androidExtensions {
- experimental = true
- }
- namespace 'com.xuqinmin.android.app'
- }
- dependencies {
- implementation fileTree(dir: "libs", include: ["*.jar", "*.aar"])
- implementation project(path: ':core')
- implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
- implementation 'com.android.support:appcompat-v7:28.0.0'
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.appcompat:appcompat:1.3.0'
- implementation 'com.google.android.material:material:1.3.0'
- implementation 'tp.xmaihh:serialport:2.1'
- implementation 'com.rabbitmq:amqp-client:5.15.0'
- implementation 'com.github.weidongjian:androidWheelView:1.0.0'
- // 声网
- implementation 'io.agora.rtc:full-sdk:4.2.3'
- //毛玻璃
- implementation 'com.github.centerzx:ShapeBlurView:1.0.5'
- // 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-armv5:0.8.8'
- // implementation 'tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8'
- // implementation 'tv.danmaku.ijk.media:ijkplayer-x86:0.8.8'
- // implementation 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8'
- //
- // implementation 'tv.danmaku.ijk.media:ijkplayer-exo:0.8.8'
- implementation 'com.github.leifzhang:IjkLib:0.4.3'
- // json 动画
- implementation 'com.airbnb.android:lottie:3.4.0'
- // 视频缓存
- implementation 'com.danikula:videocache:2.7.1'
- //eventbus
- implementation 'org.greenrobot:eventbus:3.1.1'
- implementation 'androidx.room:room-runtime:2.2.3'
- // annotationProcessor "androidx.room:room-compiler:2.2.3"
- kapt "androidx.room:room-compiler:2.2.3"
- implementation("com.android.billingclient:billing:6.2.0")
- // implementation("com.android.billingclient:billing-ktx:6.2.0")
- }
|