ext {

    versions = [
            'minSdk'           : 21,
            'targetSdk'        : 29,
            'compileSdk'       : 29,
            'buildToolsVersion': '30.0.1'
    ]
    deps = [
            //android和kt依赖资源
            android: [
                    "appcompat"             : "androidx.appcompat:appcompat:1.2.0",
                    "constraint_layout"     : "androidx.constraintlayout:constraintlayout:1.1.3",
                    "recyclerview"          : "androidx.recyclerview:recyclerview:1.1.0",
                    "design"                : "com.google.android.material:material:1.1.0",
                    'multidex'              : 'androidx.multidex:multidex:2.0.1',
                    'fragment_ktx'          : 'androidx.fragment:fragment-ktx:1.2.5',

                    "kt_ktx"                : 'androidx.core:core-ktx:1.3.2',
                    "ktx_coroutines_core"   : 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.3.9',
                    "ktx_coroutines_android": 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.3.9',

                    "lifecycle"             : 'androidx.lifecycle:lifecycle-extensions:2.2.0',
                    "lifecycle_vm"          : 'androidx.lifecycle:lifecycle-viewmodel-ktx:2.2.0',
                    "lifecycle_live"        : 'androidx.lifecycle:lifecycle-livedata-ktx:2.2.0',
                    "lifecycle_scope"       : 'androidx.lifecycle:lifecycle-runtime-ktx:2.2.0',

                    "junit"                 : 'junit:junit:4.12',
                    "test_junit"            : 'androidx.test.ext:junit:1.1.1',
                    "test_espresso"         : 'androidx.test.espresso:espresso-core:3.2.0',

            ],

            //第三方
            support: [
                    "glide"             : 'com.github.bumptech.glide:glide:4.11.0',
                    "glide_annotation"  : 'com.github.bumptech.glide:annotations:4.11.0',
                    "glide_integration" : 'com.github.bumptech.glide:okhttp3-integration:4.11.0',
                    "glide_compiler"    : 'com.github.bumptech.glide:compiler:4.11.0',

                    "hilt"              : 'com.google.dagger:hilt-android:2.28-alpha',
                    "hilt_kapt"         : 'com.google.dagger:hilt-android-compiler:2.28-alpha',
                    "hilt_vm"           : 'androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha02',
                    "hilt_vm_kapt"      : 'androidx.hilt:hilt-compiler:1.0.0-alpha02',

                    "retrofit2"         : 'com.squareup.retrofit2:retrofit:2.7.1',
                    "retrofit_gson"     : 'com.squareup.retrofit2:converter-gson:2.6.2',
                    'cookie_jar'        : 'com.github.franmontiel:PersistentCookieJar:v1.0.1',

                    "permission"        : 'com.yanzhenjie:permission:2.0.3',
                    "live_bus"          : 'com.jeremyliao:live-event-bus-x:1.7.2',
                    "brvah"             : 'com.github.CymChad:BaseRecyclerViewAdapterHelper:3.0.6',
                    "smart_refresh_core": 'com.scwang.smart:refresh-layout-kernel:2.0.1',
                    "smart_refresh_head": 'com.scwang.smart:refresh-header-classics:2.0.1',
                    "picture_selector"  : 'com.github.LuckSiege.PictureSelector:picture_library:v2.6.0',  //图片选择
                    "easy_adapter"      : 'com.lxj:easyadapter:1.2.3',  //xpopup的内置依赖库
                    "xpopup"            : 'com.lxj:xpopup:2.2.10',

                    "picker_view"       : 'com.contrarywind:Android-PickerView:4.1.9',              //PicierView (可选)
                    "banner"            : 'com.youth.banner:banner:2.1.0',                           //轮播 (可选)
            ]

    ]

}
