apply plugin: 'com.android.library' apply plugin: 'com.jakewharton.butterknife' android { buildToolsVersion gBuildToolsVersion compileSdkVersion gCompileSdkVersion defaultConfig { minSdkVersion gMinSdkVersion targetSdkVersion gCompileSdkVersion versionCode gVersionCode versionName gVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" ndk { abiFilters "armeabi", "armeabi-v7a", "x86", "x86_64", "arm64-v8a" } javaCompileOptions { annotationProcessorOptions { arguments = [AROUTER_MODULE_NAME: project.getName()] } } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation project(':baselib') implementation 'androidx.appcompat:appcompat:1.1.0' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' annotationProcessor "com.alibaba:arouter-compiler:${gRouterCompileVersion}" //Gson implementation "com.google.code.gson:gson:${gGsonVersion}" //butterknife annotationProcessor "com.jakewharton:butterknife-compiler:${gButterKnifeVersion}" //选择器 //glide implementation "com.github.bumptech.glide:glide:${supportGlide}" annotationProcessor "com.github.bumptech.glide:compiler:${supportGlide}" implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test.ext:junit:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' //播放器 implementation "tv.danmaku.ijk.media:ijkplayer-java:${ijkPlayer}" //屏幕适配 implementation 'com.github.jarryleo:MagicScreenAdapter:v2.1' }