diff --git a/src/ui/flutter_app/android/build.gradle b/src/ui/flutter_app/android/build.gradle index 18437ee73..16497cb46 100644 --- a/src/ui/flutter_app/android/build.gradle +++ b/src/ui/flutter_app/android/build.gradle @@ -6,6 +6,16 @@ allprojects { } rootProject.buildDir = '../build' +subprojects { + afterEvaluate { project -> + if (project.plugins.hasPlugin("com.android.application") || + project.plugins.hasPlugin("com.android.library")) { + project.android { + compileSdkVersion 34 + } + } + } +} subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" project.evaluationDependsOn(':app')