apply plugin: 'com.android.library' android { compileSdkVersion 31 defaultConfig { minSdkVersion 21 targetSdkVersion 31 versionCode 1 versionName "5.5.892" 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' } maven { url "https://mirrors.tencent.com/repository/maven/tencent_public" } } } dependencies { //implementation fileTree(include: ['*.jar','*.aar'], dir: 'libs') implementation 'androidx.legacy:legacy-support-v4:1.0.0' implementation 'androidx.appcompat:appcompat:1.0.0' implementation 'androidx.annotation:annotation:1.0.0' implementation 'androidx.recyclerview:recyclerview:1.0.0' implementation 'it.sephiroth.android.library.imagezoom:library:1.0.4' implementation 'com.github.bumptech.glide:glide:4.9.0' implementation 'com.github.promeg:tinypinyin:1.0.0' // ~80KB implementation 'com.google.code.gson:gson:2.8.5' implementation 'androidx.constraintlayout:constraintlayout:2.0.1' implementation project(path: ':baseswago') }