Skip to content

Commit c62867d

Browse files
author
zhouxingrong
committed
fix init 26.0.0
1 parent fcdf68e commit c62867d

3 files changed

Lines changed: 15 additions & 14 deletions

File tree

‎build.gradle‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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;每次修改版本号都要添加修改时间
3535
ext {
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"

‎gradle.properties‎

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
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.
1212
org.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+
#
1818
org.gradle.daemon=true
1919
org.gradle.configureondemand=true
2020
org.gradle.parallel=true
21+
#
2122
# 为自动化出包配置(因为每个开发的电脑坏境不一致)
22-
localBuildToolsVersion=25.0.3
23+
localBuildToolsVersion=26.0.0
24+
#
2325
# 这个值一般跟你的AndroidStudio版本号一致
2426
localGradlePluginVersion=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.
2829
isModule=false

‎module_app/build.gradle‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
apply plugin: 'com.android.application'
22

33
static def buildTime() {
4-
return new Date().format("yyyyMMdd");
4+
return new Date().format("yyyy-MM-dd");
55
}
66

77
android {

0 commit comments

Comments
 (0)