ext { apps = [ applicationName: 'Thrill', applicationId : 'com.chatlive.app' ] versions = [ versionCode: 1, versionName: '1.0.0', compileSdk : 32, buildTools : '32.0.0', minSdk : 26, targetSdk : 32, paging : '2.1.1', room : '2.2.3', lifecycle : '2.5.1', retrofit : '2.4.0', glide : '4.10.0', dagger : '2.40.5' ] productF = { } androidx = [ appcompat : 'androidx.appcompat:appcompat:1.3.0', annotation : 'androidx.annotation:annotation:1.1.0', constraintlayout : 'androidx.constraintlayout:constraintlayout:2.0.4', recyclerview : 'androidx.recyclerview:recyclerview:1.1.0', viewpager2 : 'androidx.viewpager2:viewpager2:1.0.0', material : 'com.google.android.material:material:1.1.0', swiperefreshlayout : 'com.android.support:swiperefreshlayout:28.0.0', // roomRuntime : "androidx.room:room-runtime:$versions.room", // roomRxjava2 : "androidx.room:room-rxjava2:$versions.room", pagingRuntime : "androidx.paging:paging-runtime:$versions.paging", pagingRxjava2 : "androidx.paging:paging-rxjava2:$versions.paging", lifecycleExtensions : "androidx.lifecycle:lifecycle-extensions:$versions.lifecycle", lifecycleCommon : "androidx.lifecycle:lifecycle-common-java8:$versions.lifecycle", lifecycleReactivestreams: "androidx.lifecycle:lifecycle-reactivestreams:$versions.lifecycle", ] common = [ immersionbar : 'com.gyf.immersionbar:immersionbar:3.0.0', autosize : 'me.jessyan:autosize:1.2.1', retrofit : "com.squareup.retrofit2:converter-gson:$versions.retrofit", retrofitAdapter : "com.squareup.retrofit2:adapter-rxjava2:$versions.retrofit", logging : 'com.squareup.okhttp3:logging-interceptor:3.11.0', rxandroid : 'io.reactivex.rxjava2:rxandroid:2.1.0', cookie : 'com.github.franmontiel:PersistentCookieJar:v1.0.1', //权限控制 // quickpermissions: 'com.github.quickpermissions:quickpermissions-kotlin:0.4.0', // klog : 'com.github.zhaokaiqiang.klog:library:1.6.0', logger : 'com.orhanobut:logger:2.2.0', glide : "com.github.bumptech.glide:glide:$versions.glide", dagger : "com.google.dagger:dagger:$versions.dagger", //dialog alertview : "com.bigkoo:alertview:1.0.3", //图片选择 https://github.com/LuckSiege/PictureSelector/blob/master/README_CN.md PictureSelector : "io.github.lucksiege:pictureselector:v3.11.2", ucrop : "io.github.lucksiege:ucrop:v3.11.2", ] compiler = [ 'glideCompiler' : "com.github.bumptech.glide:compiler:$versions.glide", 'lifecycleCompiler': "androidx.lifecycle:lifecycle-compiler:$versions.lifecycle", 'roomCompiler' : "androidx.room:room-compiler:$versions.room", 'daggerCompiler' : "com.google.dagger:dagger-compiler:$versions.dagger", ] androidxDependencies = androidx.values() commonDependencies = common compilerDependencies = compiler.values() }