From 3878561790331a5c88bb72b20310c4b094119aa0 Mon Sep 17 00:00:00 2001 From: A user Date: Sun, 13 Oct 2024 18:07:19 -0300 Subject: [PATCH] ci: fix android not building --- android/build.gradle | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/android/build.gradle b/android/build.gradle index cff2187..c52c488 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -21,6 +21,17 @@ rootProject.buildDir = '../build' subprojects { project.buildDir = "${rootProject.buildDir}/${project.name}" } +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') }