Files
flamenet-messenger-android/interop/build.gradle.kts
T
Paul HittandClaude Fable 5.1 4dd544083c Remove machine-writing tells from comments and docs
Emoji markers, markdown bold inside code comments, and em-dashes are
gone from source comments, string literals, scripts, Gradle files and
the markdown docs. Counted before and after:

  emoji markers   2680 -> 1 (the emoji picker's own list, which is the feature)
  em-dashes       2490 -> 9 (table placeholders and fenced code)

Two warning glyphs in user-facing strings in ChatScreens.kt are removed
as well; the sentences say the same thing without them. Two backtick
test names carried an em-dash and now carry a comma.

Nothing else changed. 1208 tests pass, counted from the result XML.
The three obfs4 interop tests are opted out with OBFS4_INTEROP_OPTOUT=1
for this run, as their own message instructs when no bridge is set up.

CONTRIBUTING gets a four-line rule so it does not grow back.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-08 18:52:12 -04:00

37 lines
1.3 KiB
Kotlin

// The Kotlin half of the cross-engine interop harness.
//
// Deliberately a separate module rather than a test source set in `:engine`:
// it depends on a JSON library and on the `application` plugin, and neither
// belongs anywhere near the shipped protocol code. The engine's own
// dependency-free build is worth protecting.
plugins {
kotlin("jvm")
application
}
repositories { mavenCentral() }
dependencies {
implementation(project(":engine"))
implementation(project(":client"))
implementation("org.json:json:20240303")
}
application {
mainClass.set("io.flamenet.interop.MainKt")
}
// A second entry point: a Flamenet account you can drive from a shell, used to
// put a real correspondent on the other end of the app.
tasks.register<JavaExec>("peer") {
group = "verification"
mainClass.set("io.flamenet.interop.Peer")
classpath = sourceSets["main"].runtimeClasspath
// `-Pargs="state.json create https://relay1.flamenet.io"`
doFirst { args((project.findProperty("args") as String? ?: "").split(" ").filter { it.isNotEmpty() }) }
}
// No `jvmTarget` pin here, unlike `:engine`. This never runs on Android, so
// bytecode level 17 buys nothing, and pinning it while `compileJava` follows
// the local JDK is how the two tasks end up disagreeing and failing the build.