repositories { google() jcenter() maven { url 'https://maven.aliyun.com/repository/public' name 'replace jcenter() and mavenCentral()' } maven { url 'https://maven.aliyun.com/repository/jcenter' name 'replace jcenter()' } maven { url 'https://maven.aliyun.com/repository/google' name 'replace google()' } }
repositories { maven { url 'https://maven.aliyun.com/repository/public' name 'replace jcenter() and mavenCentral()' } maven { url 'https://maven.aliyun.com/repository/jcenter' name 'replace jcenter()' } maven { url 'https://maven.aliyun.com/repository/google' name 'replace google()' } maven { url "https://jitpack.io" } google() jcenter() }
//自带 glide + glide的 transform implementation 'jp.wasabeef:glide-transformations:4.0.1' //这个必须加---element== null implementation 'com.github.bumptech.glide:glide:4.10.0' //加上这个才可以 有 进度 annotationProcessor 'com.github.bumptech.glide:compiler:4.10.0' //RecyclerView 快速适配器 implementation 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.46' //图片相册选择 视频音频 implementation 'com.yanzhenjie:album:2.0.2' //Eventbus implementation 'org.greenrobot:eventbus:3.1.1' //Fragmentation //Fragmentation implementation 'me.yokeyword:fragmentationx:1.0.1' //使用OKGO 网络请求 implementation 'com.lzy.net:okgo:3.0.4' implementation 'com.lzy.net:okrx2:2.0.2' implementation 'com.lzy.net:okserver:2.0.5' //转换 //Gson implementation 'com.google.code.gson:gson:2.8.2' //图片压缩 implementation 'com.github.nanchen2251:CompressHelper:1.0.5' //沉浸式的依赖 implementation 'com.jaeger.statusbarutil:library:1.5.1' //万能工具类 直接粘如项目了 implementation 'com.blankj:utilcode:1.25.8' //边框等 implementation 'com.github.zhangqifan1:TheShape:1.1.1' implementation 'com.android.support:design:28.0.0' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.0.0' implementation 'com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2@aar' implementation 'androidx.recyclerview:recyclerview:1.2.0-alpha02' implementation 'com.android.support:design:26.1.0' //noinspection GradleCompatible implementation 'com.android.support:appcompat-v7:26.1.0' implementation 'com.android.support:support-v4:26.1.0' implementation 'com.google.android.material:material:1.1.0'