@@ -2,34 +2,37 @@ apply plugin: 'tinkerpatch-support'
22
33def  bakPath =  file(" ${ buildDir}  /bakApk/"  )
44
5- def  appName =  " app-1.0.0.release-0111年05月31日-56 " 
5+ def  appName =  " app-1.0.0-0113-21-50-44 " 
66
77/** 
88 * 对于插件各参数的详细解析请参考 
99 * http://tinkerpatch.com/Docs/SDK 
1010 */  
1111tinkerpatchSupport  {
1212 tinkerEnable =  true 
13-  appKey =  " f828475486f91936 " 
13+  appKey =  " f938475486f91936 " 
1414 autoBackupApkPath =  " ${ bakPath} " 
1515
1616 baseApkInfos {
1717 item {
1818 variantName =  " debug" 
19-  appVersion =  " 1.0.0.debug " 
19+  appVersion =  " 1.0.0" 
2020
2121 def  pathPrefix =  " ${ bakPath}  /${ appName}  /${ variantName}  /" 
22-  def  name =  " app-debug " 
22+  def  name =  " app-${ variantName } " 
2323 baseApkFile =  " ${ pathPrefix}  /${ name}  .apk" 
2424 baseProguardMappingFile =  " ${ pathPrefix}  /${ name}  -mapping.txt" 
2525 baseResourceRFile =  " ${ pathPrefix}  /${ name}  -R.txt" 
2626 }
27+  }
28+ 29+  baseApkInfos {
2730 item {
2831 variantName =  " release" 
29-  appVersion =  " 1.0.0.release " 
32+  appVersion =  " 1.0.0" 
3033
3134 def  pathPrefix =  " ${ bakPath}  /${ appName}  /${ variantName}  /" 
32-  def  name =  " app-release " 
35+  def  name =  " app-${ variantName } " 
3336 baseApkFile =  " ${ pathPrefix}  /${ name}  .apk" 
3437 baseProguardMappingFile =  " ${ pathPrefix}  /${ name}  -mapping.txt" 
3538 baseResourceRFile =  " ${ pathPrefix}  /${ name}  -R.txt" 
0 commit comments