码迷,mamicode.com
首页 > 移动开发 > 详细

Android Studio升级1.0 现有程序 build.gradle配置文件更新

时间:2015-01-30 09:14:03      阅读:134      评论:0      收藏:0      [点我收藏+]

标签:

   1.gradle插件版本更新:

     dependencies {
-        classpath ‘com.android.tools.build:gradle:0.8.+‘
+        classpath ‘com.android.tools.build:gradle:1.0.0
     }

 zipStorePath=wrapper/dists
-distributionUrl=http\://services.gradle.org/distributions/gradle-1.11-all.zip
+distributionUrl=http\://services.gradle.org/distributions/gradle-2.2.1-all.zip


2.属性名称变化:
runProguard => minifyEnabled
zipAlign => zipAlignEnabled
jniDebugBuild => jniDebuggable
renderscriptDebug => renderscriptDebuggable
flavorGroups => flavorDimensions
packageName => applicationId
testPackageName => testApplicationId
renderscriptSupportMode => renderscriptSupportModeEnabled
ProductFlavor.renderscriptNdkMode => renderscriptNdkModeEnabled
InstrumentTest was renamed to androidTest.

Android Studio升级1.0 现有程序 build.gradle配置文件更新

标签:

原文地址:http://blog.csdn.net/xzy2046/article/details/43276881

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!