Skip to content

Display and control your Android device

Upgrade AGP (9.1.0) and Gradle (9.3.1)

Romain Vimont1c68d79eea9c
diff --git a/build.gradle b/build.gradle
index 8c671e6f..836455dd 100644
--- a/build.gradle
+++ b/build.gradle
@@ -7,7 +7,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:8.13.0'
+ classpath 'com.android.tools.build:gradle:9.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties
index fbd6c374..7c4f2c7a 100644
--- a/gradle/wrapper/gradle-wrapper.properties
+++ b/gradle/wrapper/gradle-wrapper.properties
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
+distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip
# https://gradle.org/release-checksums/
-distributionSha256Sum=bd71102213493060956ec229d946beee57158dbd89d0e62b91bca0fa2c5f3531
+distributionSha256Sum=b266d5ff6b90eada6dc3b20cb090e3731302e553a27c5d3e4df1f0d76beaff06
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/server/build.gradle b/server/build.gradle
index abbbb60a..58ac2579 100644
--- a/server/build.gradle
+++ b/server/build.gradle
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
android {
namespace = 'com.genymobile.scrcpy'
- compileSdk 36
+ compileSdk = 36
defaultConfig {
applicationId = "com.genymobile.scrcpy"
minSdkVersion 21
@@ -14,7 +14,6 @@ android {
buildTypes {
release {
minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
buildFeatures {