From 2161790f137ce1720c90ea141d2b611d64f36b16 Mon Sep 17 00:00:00 2001 From: yairm210 Date: Fri, 13 Aug 2021 00:54:46 +0300 Subject: [PATCH] Gradle wrapper upgrade --- android/build.gradle.kts | 7 +++---- build.gradle.kts | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/android/build.gradle.kts b/android/build.gradle.kts index 256bac8b02f80..ea6a3ef054854 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -56,10 +56,6 @@ android { } } - aaptOptions { - // Don't add local save files and fonts to release, obviously - ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods" - } lintOptions { disable("MissingTranslation") } @@ -67,6 +63,9 @@ android { sourceCompatibility = JavaVersion.VERSION_1_7 targetCompatibility = JavaVersion.VERSION_1_7 } + androidResources { + ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods" + } } diff --git a/build.gradle.kts b/build.gradle.kts index 11449ba140fa0..7a4510317dcdd 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,7 +20,7 @@ buildscript { dependencies { classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${com.unciv.build.BuildConfig.kotlinVersion}") classpath("de.richsource.gradle.plugins:gwt-gradle-plugin:0.6") - classpath("com.android.tools.build:gradle:4.2.0") + classpath("com.android.tools.build:gradle:7.0.0") classpath("com.mobidevelop.robovm:robovm-gradle-plugin:2.3.1") // This is for wrapping the .jar file into a standalone executable diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index f7493acd03945..6d7a5dd264a48 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/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-6.7.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip