apply plugin: 'com.android.library' android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 versionName "4.6.50" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } sourceSets { main { assets.srcDirs = ['assets'] } } buildTypes { release { minifyEnabled false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } } repositories { flatDir { dirs 'libs' } google() } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation "androidx.appcompat:appcompat:$rootProject.ext.androidxVersion" implementation "androidx.annotation:annotation:$rootProject.ext.androidxVersion" implementation "androidx.recyclerview:recyclerview:$rootProject.ext.androidxVersion" implementation 'it.sephiroth.android.library.imagezoom:library:1.0.4' implementation 'com.squareup.picasso:picasso:2.5.2' implementation 'com.github.promeg:tinypinyin:1.0.0' // ~80KB implementation 'com.google.code.gson:gson:2.8.5' implementation 'tv.danmaku.ijk.media:ijkplayer-java:0.8.8' implementation 'tv.danmaku.ijk.media:ijkplayer-armv7a:0.8.8' // implementation 'tv.danmaku.ijk.media:ijkplayer-arm64:0.8.8' implementation 'tv.danmaku.ijk.media:ijkplayer-x86:0.8.8' // implementation 'tv.danmaku.ijk.media:ijkplayer-x86_64:0.8.8' implementation "com.github.bumptech.glide:glide:$rootProject.ext.glideVersion" annotationProcessor "com.github.bumptech.glide:compiler:$rootProject.ext.glideVersion" api 'com.tencent.imsdk:imsdk:4.7.2' // api project(':imsdk') }