📜  Flutter App中android app build.gradle文件中buildTypes的签名配置-任何代码示例

📅  最后修改于: 2022-03-11 14:56:43.608000             🧑  作者: Mango

代码示例1
signingConfigs {
       release {
           keyAlias keystoreProperties['keyAlias']
           keyPassword keystoreProperties['keyPassword']
           storeFile keystoreProperties['storeFile'] ? file(keystoreProperties['storeFile']) : null
           storePassword keystoreProperties['storePassword']
       }
   }
   buildTypes {
       release {
           signingConfig signingConfigs.release
       }
   }