| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- apply plugin: 'com.android.application'
- apply plugin: 'kotlin-android'
- apply plugin: 'kotlin-android-extensions'
- apply plugin: 'kotlin-kapt'
- android {
- // dataBinding {
- // enabled = true
- // }
- buildFeatures{
- dataBinding=true
- }
- compileSdkVersion 29
- buildToolsVersion "29.0.3"
- defaultConfig {
- applicationId "com.slient.udiApplication"
- minSdkVersion 25
- targetSdkVersion 29
- versionCode 1
- versionName "1.9"
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- javaCompileOptions {
- annotationProcessorOptions {
- arguments = [AROUTER_MODULE_NAME: project.getName()]
- }
- }
- vectorDrawables.useSupportLibrary = true
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility = 1.8
- targetCompatibility = 1.8
- }
- sourceSets {
- main {
- jniLibs.srcDir 'libs'
- }
- }
- }
- dependencies {
- implementation fileTree(dir: 'libs', include: ['*.jar','*.aar'])
- implementation 'androidx.appcompat:appcompat:1.2.0'
- implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
- implementation 'com.google.android.material:material:1.2.0'
- implementation 'androidx.legacy:legacy-support-v4:1.0.0'
- implementation 'androidx.lifecycle:lifecycle-extensions:2.2.0'
- implementation 'androidx.navigation:navigation-fragment:2.3.0'
- implementation 'androidx.navigation:navigation-ui:2.3.0'
- implementation project(path: ':sparklib')
- implementation project(path: ':loadingDrawablelibrary')
- implementation project(path: ':udiResources')
- implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- testImplementation 'junit:junit:4.13'
- androidTestImplementation 'androidx.test.ext:junit:1.1.1'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
- //androidx项目XUI
- implementation 'com.github.xuexiangjys:XUI:1.1.4'
- implementation 'androidx.recyclerview:recyclerview:1.1.0'
- implementation 'com.google.android.material:material:1.3.0-alpha02'
- implementation 'com.github.bumptech.glide:glide:4.11.0'
- //Butterknife
- implementation 'com.jakewharton:butterknife:10.2.1'
- implementation 'com.yanzhenjie.nohttp:nohttp:1.1.11'
- implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-header:1.1.5'
- implementation 'com.github.xuexiangjys.SmartRefreshLayout:refresh-layout:1.1.5'
- //列表侧滑菜单
- implementation 'com.yanzhenjie.recyclerview:support:1.3.2'
- //Android图表库
- implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0'
- //ECharts图表库
- implementation 'com.github.abel533:ECharts:3.0.0.2'
- //悬浮按钮
- implementation 'com.github.clans:fab:1.6.4'
- //----AROUTE
- implementation 'com.alibaba:arouter-api:1.5.0'
- annotationProcessor 'com.alibaba:arouter-compiler:1.2.2'
- kapt 'com.alibaba:arouter-compiler:1.2.2'
- //------------retrofit2 + Rxjava + Gson 通迅组件
- implementation "com.squareup.okhttp3:okhttp:4.8.1"
- implementation 'com.parkingwang:okhttp3-loginterceptor:latest.integration'
- implementation 'com.squareup.retrofit2:retrofit:2.9.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
- implementation 'com.squareup.retrofit2:adapter-rxjava3:2.9.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
- implementation 'io.reactivex.rxjava3:rxandroid:3.0.0'
- // Because RxAndroid releases are few and far between, it is recommended you also
- // explicitly depend on RxJava's latest version for bug fixes and new features.
- // (see https://github.com/ReactiveX/RxJava/releases for latest 3.x.x version)
- implementation 'io.reactivex.rxjava3:rxjava:3.0.5'
- implementation 'com.jakewharton.rxbinding4:rxbinding:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-core:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-appcompat:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-drawerlayout:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-leanback:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-recyclerview:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-slidingpanelayout:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-swiperefreshlayout:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-viewpager:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-viewpager2:4.0.0'
- implementation 'com.jakewharton.rxbinding4:rxbinding-material:4.0.0'
- implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar'
- implementation 'com.github.lihangleo2:SmartLoadingView:2.0.2'
- implementation 'com.microsoft.signalr:signalr:3.1.8'
- //下面这个是日志输出,上面这个库用到了这个
- implementation group: 'org.slf4j', name: 'slf4j-android', version: '1.7.7'
- //------------百度地图组件
- // implementation files('libs/BaiduLBS_Android.jar')
- //------------消息推送----------
- implementation "org.java-websocket:Java-WebSocket:1.4.0"
- }
|