apply plugin: 'com.android.application' apply from: "$scriptPath/android_base.gradle" android { buildTypes.each { bt -> bt.multiDexEnabled = false } signingConfigs { platform { storeFile file("$rootDir/aosp_launcher3.jks") keyAlias "launcher3" storePassword "aosp_launcher3" keyPassword "aosp_launcher3" } } buildTypes.each { bt -> bt.signingConfig = signingConfigs.platform } //排除不想添加到apk中的文件 packagingOptions { exclude 'publicsuffixes.gz' exclude 'android**' exclude 'kotlin**' exclude '/*.proto' exclude '/google/protobuf/*' exclude '/*.bin' exclude 'assets/dexopt**' exclude 'META-INF**' } lint { baseline = file("lint-baseline.xml") } }