From 07217415644599c23c466eeb979512b00c513595 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Thu, 2 Nov 2023 18:04:51 -0400 Subject: [PATCH] Update AGP --- platforms/sdl/android/app/build.gradle | 5 +++-- platforms/sdl/android/build.gradle | 2 +- platforms/sdl/android/gradle.properties | 3 +++ .../sdl/android/gradle/wrapper/gradle-wrapper.properties | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/platforms/sdl/android/app/build.gradle b/platforms/sdl/android/app/build.gradle index 7d4a096..a060804 100644 --- a/platforms/sdl/android/app/build.gradle +++ b/platforms/sdl/android/app/build.gradle @@ -1,11 +1,12 @@ apply plugin: 'com.android.application' android { - compileSdkVersion 33 + compileSdk 34 defaultConfig { applicationId 'io.github.reminecraftpe' minSdkVersion 21 - targetSdkVersion 33 + //noinspection EditedTargetSdkVersion + targetSdkVersion 34 versionCode 1 versionName '1.0' externalNativeBuild { diff --git a/platforms/sdl/android/build.gradle b/platforms/sdl/android/build.gradle index e6b0068..ab974e8 100644 --- a/platforms/sdl/android/build.gradle +++ b/platforms/sdl/android/build.gradle @@ -6,7 +6,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:7.4.2' + classpath 'com.android.tools.build:gradle:8.1.2' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/platforms/sdl/android/gradle.properties b/platforms/sdl/android/gradle.properties index aac7c9b..8450cac 100644 --- a/platforms/sdl/android/gradle.properties +++ b/platforms/sdl/android/gradle.properties @@ -9,6 +9,9 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. +android.defaults.buildfeatures.buildconfig=true +android.nonFinalResIds=false +android.nonTransitiveRClass=false org.gradle.jvmargs=-Xmx1536m # When configured, Gradle will run in incubating parallel mode. diff --git a/platforms/sdl/android/gradle/wrapper/gradle-wrapper.properties b/platforms/sdl/android/gradle/wrapper/gradle-wrapper.properties index f61fe50..099f1c8 100644 --- a/platforms/sdl/android/gradle/wrapper/gradle-wrapper.properties +++ b/platforms/sdl/android/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ #Thu Nov 11 18:20:34 PST 2021 distributionBase=GRADLE_USER_HOME -distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip distributionPath=wrapper/dists zipStorePath=wrapper/dists zipStoreBase=GRADLE_USER_HOME