apply plugin: 'com.android.library' android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } } dependencies { api fileTree(include: ['*.jar'], dir: 'libs') //列表适配器 api "com.android.support:appcompat-v7:$supportLibraryVersion" api 'com.android.support.constraint:constraint-layout:1.1.3' api "com.android.support:gridlayout-v7:$supportLibraryVersion" api "com.android.support:design:$supportLibraryVersion" api "com.android.support:support-v4:$supportLibraryVersion" api 'com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.44' // api 'com.android.support:recyclerview-v7:28.0.0' api 'com.google.code.gson:gson:2.8.5' api 'com.github.bumptech.glide:glide:4.8.0' annotationProcessor 'com.github.bumptech.glide:compiler:4.8.0' api 'com.android.support:multidex:1.0.3' api 'com.github.Jay-Goo:RangeSeekBar:v2.0.4' api 'com.google.android.exoplayer:exoplayer:2.9.3' api 'com.danikula:videocache:2.7.0' api 'com.jaeger.statusbarutil:library:1.5.1' api 'com.lzy.net:okgo:3.0.4' api 'org.greenrobot:eventbus:3.1.1' api 'com.squareup.leakcanary:leakcanary-android:1.5' }