app/build.gradle
@@ -4,6 +4,7 @@
apply plugin: 'kotlin-android-extensions' // apply plugin
apply plugin: 'kotlin-kapt'
apply plugin: 'com.jakewharton.butterknife'
apply plugin: 'com.aliyun.ams.emas-services'
android {
    compileSdkVersion 28
@@ -13,12 +14,17 @@
        applicationId "cn.flightfeather.thirdapp"
        minSdkVersion 19
        targetSdkVersion 28
        versionCode 20
        versionName "1.1.14.02"
        versionCode 27
        versionName "1.1.14.10"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        renderscriptTargetApi 25
        renderscriptSupportModeEnabled true
        multiDexEnabled true
        ndk {
            //x5 兼容64位手机
            abiFilters 'armeabi', 'armeabi-v7a', 'x86', 'mips'
        }
    }
    buildTypes {
        release {
@@ -45,7 +51,7 @@
}
greendao {
    schemaVersion 11
    schemaVersion 13
    daoPackage 'com.ping.greendao.gen'
    targetGenDir 'src/main/java'
}
@@ -91,6 +97,9 @@
    implementation 'com.amap.api:location:4.6.0'
    implementation 'com.amap.api:search:6.5.0.1'
    //recyclerViewAdapter
    implementation "com.github.CymChad:BaseRecyclerViewAdapterHelper:${adaper_version}"
    //lifecycle
    implementation "android.arch.lifecycle:extensions:${lifecycle_version}"
@@ -115,6 +124,19 @@
    //kotlin plugin
    implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
    implementation "org.jetbrains.anko:anko:$anko_version"
    //腾讯TBS文件浏览服务
    api 'com.tencent.tbs.tbssdk:sdk:43697'
    //文件下载
    implementation "com.liulishuo.okdownload:okdownload:${file_download_version}"
    implementation "com.liulishuo.okdownload:sqlite:${file_download_version}"
    implementation "com.liulishuo.okdownload:okhttp:${file_download_version}"
    implementation "com.liulishuo.okdownload:ktx:${file_download_version}"
    implementation "com.liulishuo.okdownload:filedownloader:${file_download_version}"
    //圆形进度条
    implementation "com.mikhaellopez:circularprogressbar:${progressbar_version}"
}
repositories {
    mavenCentral()