From d69f96e0b7fa490143990e4f3d87a804bd5d9951 Mon Sep 17 00:00:00 2001 From: jackywang Date: Mon, 9 Mar 2020 18:54:58 +0800 Subject: [PATCH] UPDATE: gradle version. --- app/build.gradle | 8 ++------ build.gradle | 9 ++++----- gradle/wrapper/gradle-wrapper.properties | 4 ++-- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index f75cb1fa..afc10dcc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,6 @@ apply plugin: 'kotlin-android' android { compileSdkVersion 24 - buildToolsVersion "24.0.2" defaultConfig { applicationId "com.jacky.launcher" @@ -49,8 +48,5 @@ dependencies { compile 'com.android.support:recyclerview-v7:24.2.0' compile 'com.android.support:cardview-v7:24.2.0' compile 'com.github.bumptech.glide:glide:3.4.+' - compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" -} -repositories { - mavenCentral() -} +// compile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" +} \ No newline at end of file diff --git a/build.gradle b/build.gradle index 20a5055a..fd4b9829 100644 --- a/build.gradle +++ b/build.gradle @@ -1,21 +1,20 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { - ext.kotlin_version = '1.1.2-5' + ext.kotlin_version = '1.3.61' repositories { + google() jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:2.2.3' + classpath 'com.android.tools.build:gradle:3.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files } } allprojects { repositories { + google() jcenter() } } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f88b6aa7..b614f2c7 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Mon Sep 05 19:36:23 CST 2016 +#Mon Mar 09 18:39:37 CST 2020 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip