From 97339512968ec4ac761027aa499240f5050d415e Mon Sep 17 00:00:00 2001 From: Dr-Blank <64108942+Dr-Blank@users.noreply.github.com> Date: Wed, 18 Sep 2024 01:04:36 -0400 Subject: [PATCH] Revert "Remove unnecessary code in android/build.gradle" This reverts commit 38bad9671df90dfcf40f80410bf6177fb3593501. --- android/build.gradle | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/android/build.gradle b/android/build.gradle index 50d92aa..1b0d901 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -9,7 +9,18 @@ rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } - +// TODO: remove when https://github.com/livekit/client-sdk-flutter/issues/569#issuecomment-2275686786 is fixed +subprojects { + afterEvaluate { project -> + if (project.plugins.hasPlugin("com.android.application") || + project.plugins.hasPlugin("com.android.library")) { + project.android { + compileSdkVersion 34 + buildToolsVersion "34.0.0" + } + } + } +} subprojects { project.evaluationDependsOn(':app') }