Enforce compileSdkVersion 35 across all subprojects to prevent android-37 SDK lookup error

This commit is contained in:
Chris 2026-11-01 15:00:38 -05:00
parent 009a4650b6
commit 731401b33f
2 changed files with 9 additions and 2 deletions

View file

@ -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
}

View file

@ -11,6 +11,13 @@ subprojects {
}
subprojects {
project.evaluationDependsOn(':app')
afterEvaluate { project ->
if (project.hasProperty('android')) {
project.android {
compileSdkVersion 35
}
}
}
}
tasks.register("clean", Delete) {