12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- android {
- compileSdkVersion 28
- defaultConfig {
- applicationId "com.makeit.callservice"
- minSdkVersion 21
- targetSdkVersion 28
- versionCode 5
- versionName "1.0.5"
- ndk {
- // 设置支持的SO库架构
- abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64'//'armeabi' //, 'x86', 'armeabi-v7a', 'x86_64', 'arm64-v8a'
- }
- multiDexEnabled = true
- }
- android.applicationVariants.all { variant ->
- variant.outputs.all {
- def releaseTime = new Date().format("yyyy-MM-dd", TimeZone.getTimeZone("UTC"))
- outputFileName = "医院呼叫机V" + defaultConfig.versionName + "_" + releaseTime + ".apk"
- // output.outputFile = new File(file.parent, filename)
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- debug {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_8
- targetCompatibility JavaVersion.VERSION_1_8
- }
- sourceSets {
- main {
- jniLibs.srcDirs = ['libs']
- }
- }
- buildToolsVersion '28.0.3'
- }
- dependencies {
- implementation fileTree(exclude: '*.zip', dir: 'libs')
- implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
- implementation 'androidx.leanback:leanback:1.0.0'
- implementation 'androidx.appcompat:appcompat:1.0.2'
- implementation 'com.github.bumptech.glide:glide:3.8.0'
- implementation 'com.github.tbruyelle:rxpermissions:0.10.2'
- implementation 'io.reactivex.rxjava2:rxandroid:2.1.0'
- implementation 'io.reactivex.rxjava2:rxjava:2.2.2'
- implementation 'com.squareup.okhttp3:okhttp:3.14.4'
- implementation 'com.squareup.retrofit2:converter-gson:2.4.0'
- implementation 'com.squareup.retrofit2:adapter-rxjava2:2.4.0'
- implementation 'com.squareup.retrofit2:retrofit:2.4.0'
- implementation 'com.github.NaikSoftware:StompProtocolAndroid:1.6.4'
- implementation 'org.java-websocket:Java-WebSocket:1.3.0'
- api "com.tencent.bugly:crashreport_upgrade:1.3.3"
- api "org.greenrobot:eventbus:3.1.1"
- api 'com.android.support:multidex:1.0.3'
- }
|