// SPDX-FileCopyrightText: 2026 Echolot contributors // SPDX-License-Identifier: GPL-3.0-or-later plugins { // AGP 9 has built-in Kotlin — do NOT also apply kotlin.android (double-registers // the `kotlin` extension). Only the serialization compiler plugin is added. alias(libs.plugins.android.library) alias(libs.plugins.kotlin.serialization) } // Device-tier probes (Android platform APIs), emitting core-measurement Test // objects. Ported/adapted from the validated echolot-prober. minSdk 26 to // match the prober and the feasibility findings. android { namespace = "app.echo_lot.probe" compileSdk = 36 defaultConfig { minSdk = 26 } compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17 } } dependencies { implementation(project(":core-measurement")) implementation(libs.kotlinx.serialization.json) implementation(libs.kotlinx.coroutines.android) // JVM unit tests for the pure wire-format decoders (DiscoveryParsers.kt) against realistic and // deliberately malformed payloads — no device, no Android runtime. Same setup as core-shizuku's // dump-parser tests: JUnit 4, because that is what AGP's unit-test source set runs. testImplementation(libs.kotlin.test.junit) testImplementation(libs.junit4) }