File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ buildscript {
77 }
88
99 dependencies {
10+ // classpath "com.android.tools.build:gradle:$localGradlePluginVersion"
11+ // $localGradlePluginVersion是gradle.properties中的数据
1012 classpath " com.android.tools.build:gradle:$localGradlePluginVersion "
1113 classpath ' com.neenbedankt.gradle.plugins:android-apt:1.8'
12- // NOTE: Do not place your application dependencies here; they belong
13- // in the individual module build.gradle files
1414 }
1515}
1616
@@ -34,6 +34,7 @@ task clean(type: Delete) {
3434// Define versions in a single place
3535ext {
3636 // Sdk and tools
37+ // localBuildToolsVersion是gradle.properties中的数据
3738 buildToolsVersion = localBuildToolsVersion
3839 compileSdkVersion = 25
3940 minSdkVersion = 15
Original file line number Diff line number Diff line change @@ -17,9 +17,11 @@ org.gradle.jvmargs=-Xmx1536m
1717org.gradle.daemon =true
1818org.gradle.configureondemand =true
1919org.gradle.parallel =true
20+
2021# 为自动化出包配置(因为每个开发的电脑坏境不一致)
2122localBuildToolsVersion =25.0.2
22- localGradlePluginVersion =2.3.0
23+ # 这个值一般跟你的AndroidStudio版本号一致
24+ localGradlePluginVersion =2.3.1
2325
2426# 每次更改“isModule”的值后,需要点击 "Sync Project" 按钮
25- isModule =true
27+ isModule =false
You can’t perform that action at this time.
0 commit comments