apply plugin: 'com.android.library' apply plugin: 'com.jakewharton.butterknife' apply plugin: 'kotlin-android' apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-kapt' android { compileSdkVersion build_versions.target_sdk defaultConfig { minSdkVersion build_versions.min_sdk targetSdkVersion build_versions.target_sdk versionCode 1 versionName "1.0" // javaCompileOptions { // annotationProcessorOptions { // arguments = [AROUTER_MODULE_NAME: project.getName(), AROUTER_GENERATE_DOC: "enable"] // } // } javaCompileOptions { annotationProcessorOptions { arguments = [AROUTER_MODULE_NAME: project.getName()] } } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } buildTypes { release { buildConfigField "boolean", "LOG_DEBUG", "true" zipAlignEnabled false shrinkResources false minifyEnabled false debuggable true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } buildFeatures { viewBinding = true } } dependencies { implementation fileTree(include: ['*.jar'], dir: 'libs') implementation 'androidx.appcompat:appcompat:1.2.0' implementation 'androidx.constraintlayout:constraintlayout:2.0.1' annotationProcessor deps.arouter_compiler kapt deps.arouter_compiler api deps.butterknife annotationProcessor deps.butterknife_annotationProcessor kapt deps.butterknife_annotationProcessor api deps.support.multidex api deps.support.app_compat api deps.support.v4 api deps.viewpager2 api deps.support.design api deps.support.percent api deps.constraint_layout api deps.persistent_cookie api deps.imagepicker api deps.dagger.runtime api deps.dagger.android api deps.dagger.android_support api deps.kotlin.stdlib api deps.kotlin.coroutines_android api deps.kotlin.coroutines_core api deps.event_bus api deps.gson api deps.autosize api deps.circleimageview api deps.baseRecyclerViewAdapterHelper //view api deps.photo_view api deps.easy_recycler api deps.material_dialog api deps.collapsibletextview api deps.lottie api deps.avi api deps.progressmanager api deps.immersionbar api deps.immersionbar_components api deps.smarttablayout api deps.smarttablayout_ogaclejapan api deps.layoutManagerGroup api deps.flexbox api deps.smartrefresh api deps.smartRefreshHeader api deps.flowlayout api deps.danmaku api deps.pickerView api deps.youth_banner api deps.fillblankview api deps.gif_lib api deps.easySwipeMenuLayout api deps.videoProcessor api deps.magicIndicator api deps.universalimageloader api deps.pageindicatorview api deps.qmui api deps.loopView //router api deps.arouter_api annotationProcessor deps.dagger.android_support_compiler annotationProcessor deps.dagger.compiler // api deps.matisse // 当前使用module依赖兼容android 10 的拍照无法回传正确的路径问题 api project(':matisse_v0.5.3-beta') api project(':lib_audio') api project(':uchat_core') debugImplementation 'com.squareup.leakcanary:leakcanary-android:1.5.4' releaseImplementation 'com.squareup.leakcanary:leakcanary-android-no-op:1.5.4' // 添加所有 module [包括 Transferee、GlideImageLoader、PicassoImageLoader、UniversalImageLoader] api 'com.github.Hitomis:transferee:1.6.1' // 兼容 29 的字体 api 'io.github.inflationx:calligraphy3:3.1.1' api 'io.github.inflationx:viewpump:2.0.3' api deps.lifecycle.viewmodel api deps.lifecycle.livedata api deps.lifecycle.process api deps.lifecycle.common // 加载 apng 动画图片 https://github.com/penfeizhou/APNG4Android // api 'com.github.penfeizhou.android.animation:apng:2.0.0' // viewpager 转换器 // api 'com.github.leifu1107:ViewpagerTransformer:V1.0' // api 'com.opensource:captchaview:1.0.3' // api 'com.umeng.umsdk:oaid_vivo:1.0.0.1' }