plugins { id("com.android.application") version "8.13.2" apply false id("com.android.library") version "8.13.2" apply false kotlin("android") version "2.3.21" apply false kotlin("plugin.serialization") version "2.3.21" apply false kotlin("plugin.compose") version "2.3.21" apply false } // A lane keeps build output outside the checkout: COTTON_ANDROID_BUILD_ROOT // names the folder (each project builds under /). System.getenv("COTTON_ANDROID_BUILD_ROOT")?.takeIf { it.isNotBlank() }?.let { root -> allprojects { layout.buildDirectory.set(file("$root/${project.name}")) } }