mirror of
https://github.com/permissionlesstech/bitchat-android.git
synced 2026-08-08 06:46:11 +00:00
202 lines
6.8 KiB
TOML
202 lines
6.8 KiB
TOML
[versions]
|
|
# Android and Kotlin
|
|
agp = "9.3.1"
|
|
kotlin = "2.4.10"
|
|
compileSdk = "37"
|
|
minSdk = "26" # API 26 for proper BLE support
|
|
targetSdk = "37"
|
|
buildTools = "37.0.0"
|
|
|
|
# AndroidX Core
|
|
core-ktx = "1.19.0"
|
|
lifecycle-runtime = "2.11.0"
|
|
activity-compose = "1.13.0"
|
|
appcompat = "1.7.1"
|
|
|
|
# Compose
|
|
compose-bom = "2026.06.01"
|
|
compose-icons-extended = "1.7.8"
|
|
|
|
# Navigation
|
|
navigation-compose = "2.9.8"
|
|
|
|
# Accompanist
|
|
accompanist-permissions = "0.37.3"
|
|
|
|
# Wear OS
|
|
wear-compose = "1.6.2"
|
|
wear-tooling-preview = "1.0.0"
|
|
|
|
# Cryptography
|
|
bouncycastle = "1.85"
|
|
tink-android = "1.23.0"
|
|
|
|
# JSON
|
|
gson = "2.14.0"
|
|
|
|
# Coroutines
|
|
kotlinx-coroutines = "1.11.0"
|
|
|
|
# Bluetooth
|
|
nordic-ble = "2.11.0"
|
|
|
|
# WebSocket
|
|
okhttp = "5.4.0"
|
|
tor-android-binary = "0.4.4.6"
|
|
|
|
|
|
# Google Play Services
|
|
gms-location = "21.4.0"
|
|
|
|
# WorkManager
|
|
work-runtime = "2.10.1"
|
|
|
|
# NanoHTTPD (hotspot APK sharing)
|
|
nanohttpd = "2.3.1"
|
|
|
|
# Security
|
|
security-crypto = "1.1.0"
|
|
|
|
# QR
|
|
zxing-core = "3.5.4"
|
|
|
|
# EXIF
|
|
exifinterface = "1.4.2"
|
|
|
|
# CameraX / ML Kit
|
|
camerax = "1.6.1"
|
|
mlkit-barcode = "17.3.0"
|
|
|
|
# Testing
|
|
junit = "4.13.2"
|
|
androidx-test-ext = "1.3.0"
|
|
espresso = "3.7.0"
|
|
mockito-kotlin = "6.3.0"
|
|
mockito-core = "5.23.0"
|
|
roboelectric = "4.15" # 4.16+ drops the AndroidKeyStore shim; breaks EncryptionServiceTest
|
|
|
|
[libraries]
|
|
# AndroidX Core
|
|
androidx-core-ktx = { module = "androidx.core:core-ktx", version.ref = "core-ktx" }
|
|
androidx-lifecycle-process = { module = "androidx.lifecycle:lifecycle-process", version.ref = "lifecycle-runtime" }
|
|
androidx-lifecycle-runtime-ktx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", version.ref = "lifecycle-runtime" }
|
|
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity-compose" }
|
|
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
|
|
|
|
# Compose
|
|
androidx-compose-bom = { module = "androidx.compose:compose-bom", version.ref = "compose-bom" }
|
|
androidx-compose-ui = { module = "androidx.compose.ui:ui" }
|
|
androidx-compose-ui-graphics = { module = "androidx.compose.ui:ui-graphics" }
|
|
androidx-compose-ui-tooling = { module = "androidx.compose.ui:ui-tooling" }
|
|
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
|
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
|
|
androidx-compose-material-icons-extended = { module = "androidx.compose.material:material-icons-extended", version.ref = "compose-icons-extended" }
|
|
|
|
# Lifecycle
|
|
androidx-lifecycle-viewmodel-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-compose", version.ref = "lifecycle-runtime" }
|
|
|
|
# Navigation
|
|
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "navigation-compose" }
|
|
|
|
# Accompanist
|
|
accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist-permissions" }
|
|
|
|
# Wear OS
|
|
androidx-wear-compose-foundation = { module = "androidx.wear.compose:compose-foundation", version.ref = "wear-compose" }
|
|
androidx-wear-compose-material3 = { module = "androidx.wear.compose:compose-material3", version.ref = "wear-compose" }
|
|
androidx-wear-tooling-preview = { module = "androidx.wear:wear-tooling-preview", version.ref = "wear-tooling-preview" }
|
|
|
|
# Cryptography
|
|
bouncycastle-bcprov = { module = "org.bouncycastle:bcprov-jdk18on", version.ref = "bouncycastle" }
|
|
google-tink-android = { module = "com.google.crypto.tink:tink-android", version.ref = "tink-android" }
|
|
|
|
# JSON
|
|
gson = { module = "com.google.code.gson:gson", version.ref = "gson" }
|
|
|
|
# Coroutines
|
|
kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-android", version.ref = "kotlinx-coroutines" }
|
|
|
|
# Bluetooth
|
|
nordic-ble = { module = "no.nordicsemi.android:ble", version.ref = "nordic-ble" }
|
|
|
|
# WebSocket
|
|
okhttp = { module = "com.squareup.okhttp3:okhttp", version.ref = "okhttp" }
|
|
tor-android-binary = { module = "org.torproject:tor-android-binary", version.ref = "tor-android-binary" }
|
|
|
|
# Tor (embed) intentionally not pinned yet; add once repo is chosen
|
|
|
|
# Google Play Services
|
|
gms-location = { module = "com.google.android.gms:play-services-location", version.ref = "gms-location" }
|
|
|
|
# WorkManager
|
|
androidx-work-runtime-ktx = { module = "androidx.work:work-runtime-ktx", version.ref = "work-runtime" }
|
|
|
|
# NanoHTTPD
|
|
nanohttpd = { module = "org.nanohttpd:nanohttpd", version.ref = "nanohttpd" }
|
|
|
|
# Security
|
|
androidx-security-crypto = { module = "androidx.security:security-crypto", version.ref = "security-crypto" }
|
|
|
|
# QR
|
|
zxing-core = { module = "com.google.zxing:core", version.ref = "zxing-core" }
|
|
|
|
# EXIF
|
|
androidx-exifinterface = { module = "androidx.exifinterface:exifinterface", version.ref = "exifinterface" }
|
|
|
|
# CameraX / ML Kit
|
|
androidx-camera-camera2 = { module = "androidx.camera:camera-camera2", version.ref = "camerax" }
|
|
androidx-camera-lifecycle = { module = "androidx.camera:camera-lifecycle", version.ref = "camerax" }
|
|
androidx-camera-compose = { module = "androidx.camera:camera-compose", version.ref = "camerax" }
|
|
mlkit-barcode-scanning = { module = "com.google.mlkit:barcode-scanning", version.ref = "mlkit-barcode" }
|
|
|
|
# Testing
|
|
junit = { module = "junit:junit", version.ref = "junit" }
|
|
androidx-test-ext-junit = { module = "androidx.test.ext:junit", version.ref = "androidx-test-ext" }
|
|
androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espresso" }
|
|
androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4" }
|
|
androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
|
|
mockito-kotlin = { module = "org.mockito.kotlin:mockito-kotlin", version.ref = "mockito-kotlin" }
|
|
mockito-core = { module = "org.mockito:mockito-core", version.ref = "mockito-core" }
|
|
roboelectric = { module = "org.robolectric:robolectric", version.ref = "roboelectric"}
|
|
kotlinx-coroutines-test = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-test", version.ref = "kotlinx-coroutines" }
|
|
|
|
[plugins]
|
|
android-application = { id = "com.android.application", version.ref = "agp" }
|
|
android-library = { id = "com.android.library", version.ref = "agp" }
|
|
kotlin-parcelize = { id = "kotlin-parcelize" }
|
|
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
|
|
|
|
[bundles]
|
|
compose = [
|
|
"androidx-compose-ui",
|
|
"androidx-compose-ui-graphics",
|
|
"androidx-compose-ui-tooling-preview",
|
|
"androidx-compose-material3",
|
|
"androidx-compose-material-icons-extended"
|
|
]
|
|
|
|
lifecycle = [
|
|
"androidx-lifecycle-runtime-ktx",
|
|
"androidx-lifecycle-viewmodel-compose",
|
|
]
|
|
|
|
cryptography = [
|
|
"bouncycastle-bcprov",
|
|
"google-tink-android"
|
|
]
|
|
|
|
testing = [
|
|
"junit",
|
|
"androidx-test-ext-junit",
|
|
"androidx-test-espresso-core",
|
|
"mockito-kotlin",
|
|
"mockito-core",
|
|
"roboelectric",
|
|
"kotlinx-coroutines-test"
|
|
]
|
|
|
|
compose-testing = [
|
|
"androidx-compose-ui-test-junit4",
|
|
"androidx-compose-ui-test-manifest"
|
|
]
|