import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { id("com.android.library") kotlin("android") kotlin("plugin.serialization") kotlin("plugin.compose") } // THE COMPOSER (owner, 19 Nov 2026): the one input bar for every Cotton app that takes typed or spoken words — a text // area that grows to about seven lines, a row of controls under it (an app's attach slot, a pick chip with its menu, // the mic, send), and while dictating a cancel, the voice's waveform, stop and send. It knows nothing of the app using // it: words, the chip's options and their order, and whether send is ready are handed in; voice is the shell's // (`voice.*` sessions, VoiceDictation). Story uses it first, Chat next. android { namespace = "com.cottondb.composer" compileSdk = 36 defaultConfig { minSdk = 28 } buildFeatures { compose = true } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 isCoreLibraryDesugaringEnabled = true } testOptions { unitTests.isReturnDefaultValues = true unitTests.isIncludeAndroidResources = true } } kotlin { compilerOptions { jvmTarget.set(JvmTarget.JVM_17) } } dependencies { coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5") // The shell's controls (`control`, TalkBack's names) and its voice (VoiceDictation); its Compose comes with it. api(project(":shell")) testImplementation("junit:junit:4.13.2") testImplementation("org.robolectric:robolectric:4.16") testImplementation("androidx.compose.ui:ui-test-junit4") debugImplementation("androidx.compose.ui:ui-test-manifest") }