mirror of
https://github.com/D-Modem/app.git
synced 2026-11-28 17:38:05 -08:00
Hdlc, Ip, Ppp and ChatScript move to shared/'s common Kotlin; the NAT (its sockets) and Android's VPN stay the app's. What they needed of the JVM, common: an IPv4 address (Inet4: on the JVM java.net.Inet4Address itself, the app's code as it was), MD5 for CHAP, a timer (coroutines, one piece at a time, as the scheduled executor), atomicfu's synchronized. PppLoopbackTest (common: the JVM and native): a client and a server in memory, the link up, the address and DNS given, IP both ways, the hang-up; MD5 against RFC 1321's vectors. The app's PPP tests (the ISP, the chat scripts, the internet line over two modems, the phone as an ISP) pass on the shared code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0172Hejd12i4aYikYW9vgpZs
55 lines
3.0 KiB
TOML
55 lines
3.0 KiB
TOML
[versions]
|
|
usbSerial = "3.9.0"
|
|
agp = "9.4.1"
|
|
kotlin = "2.4.21"
|
|
composeBom = "2026.09.00"
|
|
activityCompose = "1.13.0"
|
|
coreKtx = "1.19.1"
|
|
lifecycle = "2.11.0"
|
|
datastore = "1.2.1"
|
|
junit = "4.13.2"
|
|
coroutines = "1.10.2"
|
|
atomicfu = "0.33.0"
|
|
robolectric = "4.17"
|
|
sshj = "0.41.2"
|
|
xz = "1.10"
|
|
bouncycastle = "1.86"
|
|
mina-sshd = "2.20.0"
|
|
androidxTestCore = "1.7.0"
|
|
androidxTestRunner = "1.7.0"
|
|
androidxTestExtJunit = "1.3.0"
|
|
|
|
[libraries]
|
|
usb-serial = { module = "com.github.mik3y:usb-serial-for-android", version.ref = "usbSerial" }
|
|
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "coreKtx" }
|
|
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activityCompose" }
|
|
androidx-lifecycle-runtime-compose = { module = "androidx.lifecycle:lifecycle-runtime-compose", version.ref = "lifecycle" }
|
|
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle" }
|
|
androidx-datastore-preferences = { module = "androidx.datastore:datastore-preferences", version.ref = "datastore" }
|
|
compose-bom = { module = "androidx.compose:compose-bom", version.ref = "composeBom" }
|
|
compose-ui = { module = "androidx.compose.ui:ui" }
|
|
compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
|
compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
|
compose-material3 = { module = "androidx.compose.material3:material3" }
|
|
compose-material-icons = { module = "androidx.compose.material:material-icons-core" }
|
|
compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" }
|
|
compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
|
|
junit = { module = "junit:junit", version.ref = "junit" }
|
|
kotlinx-atomicfu = { module = "org.jetbrains.kotlinx:atomicfu", version.ref = "atomicfu" }
|
|
kotlinx-coroutines-core = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" }
|
|
robolectric = { module = "org.robolectric:robolectric", version.ref = "robolectric" }
|
|
sshj = { module = "com.hierynomus:sshj", version.ref = "sshj" }
|
|
xz = { module = "org.tukaani:xz", version.ref = "xz" }
|
|
bcprov = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncycastle" }
|
|
bcpkix = { module = "org.bouncycastle:bcpkix-jdk18on", version.ref = "bouncycastle" }
|
|
mina-sshd-core = { module = "org.apache.sshd:sshd-core", version.ref = "mina-sshd" }
|
|
androidx-test-core = { module = "androidx.test:core", version.ref = "androidxTestCore" }
|
|
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidxTestRunner" }
|
|
androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "androidxTestExtJunit" }
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
kotlin-android = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
|