From 731401b33f7d64eec8f7269b76a3f9e69c219047 Mon Sep 17 00:00:00 2001 From: Chris Date: Sun, 1 Nov 2026 15:00:38 -0500 Subject: [PATCH] Enforce compileSdkVersion 35 across all subprojects to prevent android-37 SDK lookup error --- mobile/android/app/build.gradle | 4 ++-- mobile/android/build.gradle | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/mobile/android/app/build.gradle b/mobile/android/app/build.gradle index cc57a97..fb8c596 100644 --- a/mobile/android/app/build.gradle +++ b/mobile/android/app/build.gradle @@ -24,7 +24,7 @@ if (flutterVersionName == null) { android { namespace "com.forkfolio.mobile" - compileSdk 34 + compileSdk 35 ndkVersion flutter.ndkVersion compileOptions { @@ -43,7 +43,7 @@ android { defaultConfig { applicationId "com.forkfolio.mobile" minSdkVersion 24 - targetSdkVersion 34 + targetSdkVersion 35 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/mobile/android/build.gradle b/mobile/android/build.gradle index bc157bd..c1f2c72 100644 --- a/mobile/android/build.gradle +++ b/mobile/android/build.gradle @@ -11,6 +11,13 @@ subprojects { } subprojects { project.evaluationDependsOn(':app') + afterEvaluate { project -> + if (project.hasProperty('android')) { + project.android { + compileSdkVersion 35 + } + } + } } tasks.register("clean", Delete) {