| | |
| | | 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 |
| | |
| | | applicationId "cn.flightfeather.thirdapp" |
| | | minSdkVersion 19 |
| | | targetSdkVersion 28 |
| | | versionCode 23 |
| | | versionName "1.1.14.06" |
| | | 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 { |
| | |
| | | } |
| | | |
| | | greendao { |
| | | schemaVersion 11 |
| | | schemaVersion 13 |
| | | daoPackage 'com.ping.greendao.gen' |
| | | targetGenDir 'src/main/java' |
| | | } |
| | |
| | | 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}" |
| | | |
| | |
| | | //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() |