// SPDX-FileCopyrightText: 2026 Echolot contributors // SPDX-License-Identifier: GPL-3.0-or-later plugins { alias(libs.plugins.kotlin.jvm) alias(libs.plugins.kotlin.serialization) } // The anonymizer (measurement-schema.md ยง8). Pure Kotlin/JVM and deliberately // dependency-free beyond JSON: it must be trivially auditable, because a bug // here leaks a user's network onto someone else's server. dependencies { implementation(libs.kotlinx.serialization.json) testImplementation(kotlin("test")) } kotlin { jvmToolchain(21) compilerOptions { jvmTarget.set(org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17) } } java { sourceCompatibility = JavaVersion.VERSION_17; targetCompatibility = JavaVersion.VERSION_17 } tasks.test { useJUnitPlatform() }