From 565ffcfb52e95f028ceae3c8201bc324d97bee77 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 19 Feb 2019 16:19:15 +0800 Subject: [PATCH] =?UTF-8?q?smc=20=E6=B5=8B=E8=AF=9501?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build.gradle | 14 +++++++++---- gradle/wrapper/gradle-wrapper.properties | 2 +- sample/.gitignore | 26 ++++++++++++++++++++++++ 3 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 sample/.gitignore diff --git a/build.gradle b/build.gradle index a18211e..93eb2ed 100644 --- a/build.gradle +++ b/build.gradle @@ -1,19 +1,25 @@ buildscript { repositories { - mavenCentral() + google() + jcenter() + maven { + url 'https://maven.google.com/' + name 'Google' + } } dependencies { - classpath 'com.android.tools.build:gradle:0.14.0' + classpath 'com.android.tools.build:gradle:3.0.0' } } ext { - compileSdkVersion = 17 - buildToolsVersion = "19.1.0" + compileSdkVersion = 26 + buildToolsVersion = "26.0.2" } allprojects { repositories { mavenCentral() + google() } } \ No newline at end of file diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index ffaa281..649480d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip diff --git a/sample/.gitignore b/sample/.gitignore new file mode 100644 index 0000000..2ebb661 --- /dev/null +++ b/sample/.gitignore @@ -0,0 +1,26 @@ +# Built application files +*.apk +build/ + +# gradle files +.idea/ +.gradle/ + +# iml files +*.iml + +# Local configuration file (sdk path, etc) +local.properties +gradle.properties + +# proguard files +proguard/ + +# Log Files +*.log + +# Files for the ART/Dalvik VM +*.dex + +# Java class files +*.class \ No newline at end of file