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) {