File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,20 +31,20 @@ task clean(type: Delete) {
3131}
3232
3333// Define versions in a single place
34- // 时间:2017.2.13 ;每次修改版本号都要添加修改时间
34+ // 时间:2017.08.31 ;每次修改版本号都要添加修改时间
3535ext {
3636 // Sdk and tools
3737 // localBuildToolsVersion是gradle.properties中的数据
3838 buildToolsVersion = localBuildToolsVersion
39- compileSdkVersion = 25
39+ compileSdkVersion = 26
4040 minSdkVersion = 16
41- targetSdkVersion = 25
41+ targetSdkVersion = 26
4242 versionCode = 1
4343 versionName = " 1.0"
4444 javaVersion = JavaVersion . VERSION_1_8
4545
4646 // App dependencies version
47- supportLibraryVersion = " 25.3.1 "
47+ supportLibraryVersion = " 26.+ "
4848 retrofitVersion = " 2.1.0"
4949 glideVersion = " 3.7.0"
5050 loggerVersion = " 1.15"
Original file line number Diff line number Diff line change 11# Project-wide Gradle settings.
2-
2+ #
33# IDE (e.g. Android Studio) users:
44# Gradle settings configured through the IDE *will override*
55# any settings specified in this file.
6-
6+ #
77# For more details on how to configure your build environment visit
88# http://www.gradle.org/docs/current/userguide/build_environment.html
9-
9+ #
1010# Specifies the JVM arguments used for the daemon process.
1111# The setting is particularly useful for tweaking memory settings.
1212org.gradle.jvmargs =-Xmx2048m
13-
13+ #
1414# When configured, Gradle will run in incubating parallel mode.
1515# This option should only be used with decoupled projects. More details, visit
1616# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
17-
17+ #
1818org.gradle.daemon =true
1919org.gradle.configureondemand =true
2020org.gradle.parallel =true
21+ #
2122# 为自动化出包配置(因为每个开发的电脑坏境不一致)
22- localBuildToolsVersion =25.0.3
23+ localBuildToolsVersion =26.0.0
24+ #
2325# 这个值一般跟你的AndroidStudio版本号一致
2426localGradlePluginVersion =2.3.3
25-
26- # 每次更改“isModule”的值后,需要点击 "Sync Project" 按钮
27- # isModule是“集成开发模式”和“组件开发模式”的切换开关
27+ #
28+ # Each time you change the value of "isModule", you need to click the "Sync Now" button.
2829isModule =false
Original file line number Diff line number Diff line change 11apply plugin : ' com.android.application'
22
33static def buildTime () {
4- return new Date (). format(" yyyyMMdd " );
4+ return new Date (). format(" yyyy-MM-dd " );
55}
66
77android {
You can’t perform that action at this time.
0 commit comments