apply plugin: 'com.android.application' def releaseTime() { return new Date().format("yyyy.MM.dd", TimeZone.getTimeZone("UTC")) } android { compileSdkVersion 27 defaultConfig { multiDexEnabled true applicationId "com.xxx" minSdkVersion 14 targetSdkVersion 27 versionCode 1 versionName "1.1.2" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" // testApplicationId 'com.plan_solve.farmlandassistant' // signingConfig signingConfigs.release javaCompileOptions { annotationProcessorOptions { includeCompileClasspath = true } } //版本名后面添加一句话,意思就是flavor dimension 它的维度就是该版本号,这样维度就是都是统一的了 flavorDimensions "versionCode" } //签名 signingConfigs { debug { // 自己的签名文件(可从module setting设置路径) storeFile file('../tgzj.jks') storePa
完整的build.gradle(包含多渠道,混淆,debug, release, apk命名规则)
最新推荐文章于 2023-03-24 15:17:24 发布