plugins { id 'com.android.library' } android { compileSdkVersion rootProject.ext.android.compileSdkVersion buildToolsVersion rootProject.ext.android.buildToolsVersion defaultConfig { minSdkVersion rootProject.ext.android.minSdkVersion targetSdkVersion rootProject.ext.android.targetSdkVersion versionCode rootProject.ext.android.versionCode versionName rootProject.ext.android.versionName } buildTypes { release { minifyEnabled false } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } // 主题资源文件夹 sourceSets { main { res.srcDirs += "src/main/res-light" res.srcDirs += "src/main/res-lively" res.srcDirs += "src/main/res-serious" } } } afterEvaluate { generateReleaseBuildConfig.enabled = false generateDebugBuildConfig.enabled = false } dependencies { api project(':tuicore') api project(':baselib') api(rootProject.ext.dependencies.converter_gson) api(rootProject.ext.androidx.appcompat) api(rootProject.ext.dependencies.glide) api(rootProject.ext.androidx.recyclerview) implementation 'androidx.viewpager2:viewpager2:1.0.0' }