From 9d8b073ca586c74d9493417e5dfc6fa4fc2f8104 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Mon, 31 Aug 2026 23:02:07 -0500 Subject: [PATCH] Update SDK and AGP --- app/build.gradle | 8 +++----- build.gradle | 2 +- gradle.properties | 1 + gradle/wrapper/gradle-wrapper.properties | 3 ++- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 26d5f84c1..8540108a7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -3,7 +3,7 @@ apply plugin: 'com.android.application' android { ndkVersion "27.0.12077973" - compileSdk 34 + compileSdk 37 namespace 'com.limelight' @@ -22,6 +22,7 @@ android { buildFeatures { buildConfig = true + resValues = true } productFlavors { @@ -84,9 +85,6 @@ android { applicationIdSuffix ".debug" resValue "string", "app_label", "Moonlight (Debug)" resValue "string", "app_label_root", "Moonlight (Root Debug)" - - minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } release { // To whomever is releasing/using an APK in release mode with @@ -124,7 +122,7 @@ android { resValue "string", "app_label_root", "Moonlight (Root)" minifyEnabled true - proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' + proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro' } } diff --git a/build.gradle b/build.gradle index 1d7976c81..db5101d75 100644 --- a/build.gradle +++ b/build.gradle @@ -5,7 +5,7 @@ buildscript { google() } dependencies { - classpath 'com.android.tools.build:gradle:8.5.1' + classpath 'com.android.tools.build:gradle:9.3.2' } } diff --git a/gradle.properties b/gradle.properties index e0212117d..008dfae77 100644 --- a/gradle.properties +++ b/gradle.properties @@ -11,6 +11,7 @@ # The setting is particularly useful for tweaking memory settings. # Default value: -Xmx10248m -XX:MaxPermSize=256m # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +android.useAndroidX=false org.gradle.jvmargs=-Xmx3072m # When configured, Gradle will run in incubating parallel mode. diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 48c0a02ca..53ec1ec9b 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,6 @@ +#Mon Aug 31 22:51:27 CDT 2026 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists