diff --git a/mobile/android/build.gradle b/mobile/android/build.gradle index c7f4054..0c5ea57 100644 --- a/mobile/android/build.gradle +++ b/mobile/android/build.gradle @@ -14,18 +14,13 @@ subprojects { } subprojects { project -> - def setCompileSdk = { - if (project.hasProperty('android')) { - project.android { - compileSdkVersion 35 - } - } - } - if (project.state.executed) { - setCompileSdk() - } else { + if (project.name != 'app') { project.afterEvaluate { - setCompileSdk() + if (project.hasProperty('android')) { + project.android { + compileSdkVersion 35 + } + } } } }