// The native sink for the platform player, in Kotlin (wai/extensions/native-sink.md): // :sink the Android library (the AAR): the JNI layer's libraries for each ABI, the platform-free // half below, and the player and attention integration; // :core the platform-free half (the wrapper over the C interface, the loopback relay, the // session's observation loop, the collector client), compiled for the host JVM too so // its unit tests drive the JNI layer over a host build of libwai; // :tv a television host for the sink: one activity, a launcher entry for the television // launcher, a banner, no touchscreen required (README, *Television*). // `-Pwai.sink.jvmOnly=true` leaves :sink and :tv out, for a host with no Android SDK. pluginManagement { repositories { google { content { includeGroupByRegex("com\\.android.*") includeGroupByRegex("com\\.google.*") includeGroupByRegex("androidx.*") } } mavenCentral() gradlePluginPortal() } plugins { id("com.android.library") version "8.13.0" id("com.android.application") version "8.13.0" id("org.jetbrains.kotlin.android") version "2.3.21" id("org.jetbrains.kotlin.jvm") version "2.3.21" } } dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories { google { content { includeGroupByRegex("com\\.android.*") includeGroupByRegex("com\\.google.*") includeGroupByRegex("androidx.*") } } mavenCentral() } } rootProject.name = "wai-sink-android" include(":core") if (providers.gradleProperty("wai.sink.jvmOnly").orNull != "true") { include(":sink") include(":tv") }