From 97ee48dd2527762b299c2460478afd9d22824a0d Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Tue, 25 Feb 2020 08:21:56 +0530 Subject: [PATCH] Update AGP and Gradle Signed-off-by: Harsh Shandilya --- dependencies.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- gradlew.bat | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/dependencies.gradle b/dependencies.gradle index d56679d6..ea3fe1d8 100644 --- a/dependencies.gradle +++ b/dependencies.gradle @@ -14,7 +14,7 @@ ext.versions = [ ext.deps = [ gradle_plugin: [ - android: 'com.android.tools.build:gradle:3.5.3', + android: 'com.android.tools.build:gradle:3.6.0', kotlin: 'org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.61', spotless: 'com.diffplug.spotless:spotless-plugin-gradle:3.27.1' ], diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 31a0802f..6254d2d4 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.2.1-all.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/gradlew.bat b/gradlew.bat index 24467a14..9109989e 100644 --- a/gradlew.bat +++ b/gradlew.bat @@ -29,6 +29,9 @@ if "%DIRNAME%" == "" set DIRNAME=. set APP_BASE_NAME=%~n0 set APP_HOME=%DIRNAME% +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"