plugins { id "com.android.application" version "8.6.1" apply false id "com.android.library" version "8.6.1" apply false id "org.jetbrains.kotlin.android" version "1.9.24" apply false } // Optionaler Fallback, falls ein Library-Plugin kein compileSdk setzt subprojects { afterEvaluate { p -> if (p.plugins.hasPlugin("com.android.library")) { if (!p.hasProperty("android") || !p.android.hasProperty("compileSdkVersion") || p.android.compileSdkVersion == null) { p.android.compileSdkVersion = 35 } } } }