plugins { id 'com.android.library' } android { compileSdkVersion 30 buildToolsVersion "30.0.3" defaultConfig { minSdkVersion 16 targetSdkVersion 30 versionCode 1 versionName "1.0" } buildTypes { release { minifyEnabled false } preRelease { 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" res.srcDirs += "src/main/res-minimalist" } } } afterEvaluate { generateReleaseBuildConfig.enabled = false generateDebugBuildConfig.enabled = false } dependencies { implementation 'androidx.appcompat:appcompat:1.3.0' implementation 'com.google.android.material:material:1.3.0' api project(':timcommon') }