From 6fefea01ece7cd5e55f689335f539ac89a587585 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Ertemli?= <48600314+PeacErtemli@users.noreply.github.com> Date: Fri, 7 Jul 2023 11:12:57 +0300 Subject: [PATCH] Update gradle-wrapper.properties The gradle version of this project was outdated, hence it wasn't supporting the up-to-date version of Java (which I tried Java 17). I tried with Gradle 8.2 but it wasn't working but 7.6.2 is good enough at 7.07.2023. The original Gradle version was 7.0.2. I updated it as 7.6.2. --- android/gradle/wrapper/gradle-wrapper.properties | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties index b8793d3c0..f77685132 100644 --- a/android/gradle/wrapper/gradle-wrapper.properties +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,11 @@ -#Fri Jun 23 08:50:38 CEST 2017 +# Fri Jun 23 08:50:38 CEST 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip +distributionUrl=https://services.gradle.org/distributions/gradle-7.6.2-all.zip + +# UPDATE BY A STUDENT +# Up-to-date Gradle version was 7.0.2 in 2017 but it needs to be updated in 7.07.2023, otherwise it won't run with your up-to-date java version. +# I tried 8.2 Gradle but it didn't work however 7.6.2 Gradle works fine and also supports Java 17. +# Check for your versions: https://docs.gradle.org/current/userguide/compatibility.html