Skip to content

Commit

Permalink
update gradle4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Edwin Wu committed Feb 7, 2018
1 parent b184aa9 commit 77f1ebd
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 7 deletions.
24 changes: 19 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,33 @@

buildscript {
repositories {
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.3'
classpath 'com.android.tools.build:gradle:3.0.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
allprojects {
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
}
}
}

allprojects {
repositories {
flatDir {
dirs 'libs'
}
google()
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
}

Expand All @@ -25,11 +39,11 @@ task clean(type: Delete) {
ext {
// Sdk and tools
minSdkVersion = 16
targetSdkVersion = 25
compileSdkVersion = 25
buildToolsVersion = '25.0.3'
targetSdkVersion = 26
compileSdkVersion = 26
buildToolsVersion = '26.0.2'

// App dependencies
supportLibraryVersion = '25.3.1'
supportLibraryVersion = '26.1.0'

}
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Thu Jun 15 20:04:51 CST 2017
#Tue Dec 05 21:12:34 CST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip

0 comments on commit 77f1ebd

Please sign in to comment.