From bed128495ea2105fe6aeebecf0666f98a1a274fa Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 10 Feb 2022 21:05:13 +0100 Subject: [PATCH] updated Gradle files for Android platform --- build-projects/android/app/build.gradle.tmpl | 4 ++-- build-projects/android/build.gradle | 6 +++--- .../android/gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build-projects/android/app/build.gradle.tmpl b/build-projects/android/app/build.gradle.tmpl index 68c234b6..5eb4854d 100644 --- a/build-projects/android/app/build.gradle.tmpl +++ b/build-projects/android/app/build.gradle.tmpl @@ -8,7 +8,7 @@ else { } android { - compileSdkVersion 26 + compileSdkVersion 31 defaultConfig { if (buildAsApplication) { @@ -16,7 +16,7 @@ android { } minSdkVersion 17 - targetSdkVersion 26 + targetSdkVersion 31 versionCode __VERSION_CODE__ versionName "__VERSION_NAME__" diff --git a/build-projects/android/build.gradle b/build-projects/android/build.gradle index f6f90b25..6f629c8a 100644 --- a/build-projects/android/build.gradle +++ b/build-projects/android/build.gradle @@ -2,11 +2,11 @@ buildscript { repositories { - jcenter() + mavenCentral() google() } dependencies { - classpath 'com.android.tools.build:gradle:3.2.0' + classpath 'com.android.tools.build:gradle:7.0.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files @@ -15,7 +15,7 @@ buildscript { allprojects { repositories { - jcenter() + mavenCentral() google() } } diff --git a/build-projects/android/gradle/wrapper/gradle-wrapper.properties b/build-projects/android/gradle/wrapper/gradle-wrapper.properties index f9b3be2f..67458931 100644 --- a/build-projects/android/gradle/wrapper/gradle-wrapper.properties +++ b/build-projects/android/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-4.10.2-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-all.zip -- 2.34.1