plugins { id("com.android.application") id("org.jetbrains.kotlin.android") } android { namespace = "com.soulstream.autoprober" compileSdk = 36 defaultConfig { applicationId = "com.soulstream.autoprober" // 26 and 36 to match the app: package visibility (the // block in the manifest) only behaves like the real thing at a // targetSdk that has it, and a prober that can see more than // Android Auto can would prove the wrong thing. minSdk = 26 targetSdk = 36 versionCode = 1 versionName = "1.0" } compileOptions { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } kotlinOptions { jvmTarget = "1.8" } } // NO dependencies, deliberately. android.media.browse.MediaBrowser is the // framework class Android Auto itself uses to reach a media3 app, and a // prober built out of media3 would not prove that path works. The Kotlin // plugin adds its own stdlib and nothing else comes along.