fix for flutter not compiling apk

This commit is contained in:
Dr-Blank 2024-08-23 07:24:33 -04:00
parent 6ff3d535e4
commit 37bb97c35f
No known key found for this signature in database
GPG key ID: 7452CC63F210A266

View file

@ -9,6 +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')
}