Skip to content

Commit

Permalink
Remove Chinese comments in gradle scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
maxhis committed Aug 9, 2014
1 parent 0f1c043 commit 0f509c2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion ResideMenuDemo/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apply plugin: 'android'

configurations {
provided
compile.exclude module: 'support-v4' //避免preDex时候有多个项目的support-v4.jar依赖进来
compile.exclude module: 'support-v4'
}

sourceSets {
Expand Down
5 changes: 0 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,13 @@ println "\tCharset.defaultCharset() = " + java.nio.charset.Charset.defaultCharse
println "-------------------------------------------------\n"


//配置extra属性之后,后面的子project需要用到这些属性的地方都直接调用rootProject.ext.XXX,避免修改的时候需要每个project里面都需要去检查、修改

ext {
compileSdkVersion = 19
buildToolsVersion = System.properties['buildToolsVersion']
minSdkVersion = 9
targetSdkVersion = 14
}


//每个project构建过程中,都需要依赖gradle构建工具,所以在rootProject里面写一次就好了。
buildscript {
repositories {
mavenCentral()
Expand All @@ -29,7 +25,6 @@ buildscript {

allprojects {

//指定编码类型
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
Expand Down

0 comments on commit 0f509c2

Please sign in to comment.