build.gradle 5.71 KB
apply plugin: 'com.android.library'

android {
//    compileSdkVersion 29
//    buildToolsVersion "29.0.2"
//
//
//    defaultConfig {
//        minSdkVersion 16
//        targetSdkVersion 29
//        versionCode 1
//        versionName "1.0"
//
//        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
//        consumerProguardFiles 'consumer-rules.pro'
//    }

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }

}

dependencies {
    implementation fileTree(dir: 'libs', include: ['*.jar'])

    implementation 'androidx.appcompat:appcompat:1.0.2'
    testImplementation 'junit:junit:4.12'
    androidTestImplementation 'androidx.test:runner:1.1.1'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'


    def moduleVersion = "0.3.7-alpha01"


    annotationProcessor "com.google.dagger:dagger-android-processor:2.16"
    // 刷新控件
    implementation "com.scwang.smartrefresh:SmartRefreshLayout:$rootProject.SmartRefreshLayout"
    implementation "com.scwang.smartrefresh:SmartRefreshHeader:$rootProject.SmartRefreshHeader"
    // 圆形图片
    implementation "de.hdodenhof:circleimageview:$rootProject.circleimageview"
    // MagicIndicator
    implementation("com.github.SherlockGougou:MagicIndicator:1.6.0") {
        exclude group: 'com.android.support'
    }
    // recyclerview-animators
    implementation("jp.wasabeef:recyclerview-animators:$rootProject.recyclerviewAnimators") {
        exclude group: 'com.android.support'// 内部引入了27.1.1的appcompat-v7包和support-annotations
    }
    // 视讯云支付sdk
//    implementation 'com.cnlive:lib_cnpay:1.0.9'
    // span
    api 'com.zrq:spanbuilder:1.0.5'
    // 选择的dialog(版本升级了)
    api 'com.contrarywind:Android-PickerView:4.1.6'
    // shape button
    api 'com.github.medyo:fancybuttons:1.9.0'
    // 高德定位
    implementation "com.amap.api:location:latest.integration"
    // 高德地图3D
    api 'com.amap.api:3dmap:6.6.0'
    // 搜索功能
    api 'com.amap.api:search:6.5.0.1'
    // 轮播图
    api 'com.youth.banner:banner:1.4.10'
    // 圆角图片
    implementation 'com.makeramen:roundedimageview:2.3.0'
    // 图片选择
    api 'com.cnlive.module:matisse:0.0.1'
    // divider
    api('com.zrq:divider:1.0.1') {
        exclude group: 'com.android.support'
    }
    // PhotoView
    api('com.github.chrisbanes:PhotoView:2.1.4') {
        exclude group: 'com.android.support'
    }
    // DiscreteScrollView
    api('com.yarolegovich:discrete-scrollview:1.4.9') {
        exclude group: 'com.android.support'
    }
    // baseAdapter
    api "com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.42"
    // 状态栏
    api "com.jaeger.statusbarutil:library:1.5.1"
    // EventBus
    api "org.greenrobot:eventbus:3.1.1"
    // RxLifecycle
    api("com.trello.rxlifecycle2:rxlifecycle:2.2.2") {
        exclude module: 'rxjava'// rxJava
    }
    //没有
    api("com.trello.rxlifecycle2:rxlifecycle-components:2.2.2") {
        exclude group: 'com.android.support'// 内部引入了27.1.1的appcompat-v7包和support-annotations
        exclude module: 'rxjava'// rxJava
    }
    // Anko Commons
    api "org.jetbrains.anko:anko-commons:0.10.5"
    api "org.jetbrains.anko:anko-support-v4-commons:0.10.5"// Support-v4 (only Anko Commons)
    // Dagger2
    api "com.google.dagger:dagger:2.16"
    annotationProcessor "com.google.dagger:dagger-compiler:2.16"
    // dagger-android
    api "com.google.dagger:dagger-android:2.16"
    api "com.google.dagger:dagger-android-support:2.16"
    api("com.cnlive.module:shop:$moduleVersion") {
        transitive = false
    }
    api("com.cnlive.module:base:$moduleVersion") {
        transitive = false
    }
    api("com.cnlive.module:common:$moduleVersion") {
        transitive = false
    }
    api("com.cnlive.module:repast:$moduleVersion") {
        transitive = false
    }
    api("com.cnlive.module:ar:$moduleVersion") {
        transitive = false
    }
    // happy-china
    api("com.cnlive.module:happy-china:$moduleVersion") {
        transitive = false
    }

    api("com.cnlive.module:local-life:$moduleVersion") {
        transitive = false
    }
    // ********  工具  ********
    // kotlin环境
    api "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.3.21"
    // systembartint
    api 'com.readystatesoftware.systembartint:systembartint:1.0.4'

    // 文字垂直滚动
    api 'com.sunfusheng:marqueeview:1.2.0'
    // 流式布局
    api 'com.hyman:flowlayout-lib:1.1.2'
    // gif //没有
    api 'pl.droidsonroids.gif:android-gif-drawable:1.2.8'
    // 网家家支付
    api "com.cnlive.libs:wjjpay:1.0.5"

    api "com.oushangfeng:PinnedSectionItemDecoration:1.3.2"

    // snap
    implementation 'com.github.rubensousa:gravitysnaphelper-compat:2.0'
    // 模糊
    implementation "com.wonderkiln:blurkit:1.0.0"
    // LayoutManager
    implementation "com.beloo.widget:ChipsLayoutManager:0.3.7@aar"

    //CNLiveLibs
    implementation "com.cnlive.libs:base:1.7.6.18"
    implementation "com.cnlive.libs:emoj:$rootProject.libEmoj"
    implementation "com.cnlive.libs:noober_menu:$rootProject.libMenu"
//    implementation "com.cnlive.libs:arch:$rootProject.appArch"
    //七牛上传
    implementation "com.qiniu:qiniu-android-sdk:$rootProject.qiniuAndroidSdk"
    // 阴影布局
    api 'com.github.lihangleo2:ShadowLayout:2.0.1'

    api 'com.github.lihangleo2:ShadowLayout:2.0.1'

    api "com.tencent.imsdk:imsdk:$rootProject.imsdk"

    implementation project(path: ':cloud:user')
    implementation project(path: ':cloud:app_pay')
    implementation project(path: ':module:shanghaishop')
    implementation project(path: ':core:base')
}