- Protobuf Gradle plugin with protoc, grpc-java, grpc-kotlin generators - Dependencies: protobuf-kotlin-lite, grpc-kotlin-stub, grpc-okhttp, grpc-protobuf-lite - Proto file at app/src/main/proto/engpad/v1/sync.proto - SyncClient.kt: gRPC channel with TLS + credential metadata interceptor - SyncManager.kt: notebook serialization to proto, sync/delete/list RPCs Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
58 lines
3.1 KiB
TOML
58 lines
3.1 KiB
TOML
[versions]
|
|
agp = "9.1.0"
|
|
kotlin = "2.3.20"
|
|
ksp = "2.3.6"
|
|
compose-bom = "2026.03.00"
|
|
room = "2.8.4"
|
|
navigation = "2.9.7"
|
|
lifecycle = "2.10.0"
|
|
coroutines = "1.10.2"
|
|
core-ktx = "1.18.0"
|
|
activity-compose = "1.13.0"
|
|
junit = "4.13.2"
|
|
reorderable = "3.0.0"
|
|
protobuf = "4.29.3"
|
|
grpc = "1.69.0"
|
|
grpcKotlin = "1.4.1"
|
|
|
|
[libraries]
|
|
androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "core-ktx" }
|
|
androidx-activity-compose = { group = "androidx.activity", name = "activity-compose", version.ref = "activity-compose" }
|
|
|
|
compose-bom = { group = "androidx.compose", name = "compose-bom", version.ref = "compose-bom" }
|
|
compose-ui = { group = "androidx.compose.ui", name = "ui" }
|
|
compose-ui-tooling-preview = { group = "androidx.compose.ui", name = "ui-tooling-preview" }
|
|
compose-material3 = { group = "androidx.compose.material3", name = "material3" }
|
|
compose-ui-tooling = { group = "androidx.compose.ui", name = "ui-tooling" }
|
|
|
|
navigation-compose = { group = "androidx.navigation", name = "navigation-compose", version.ref = "navigation" }
|
|
|
|
lifecycle-viewmodel-compose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "lifecycle" }
|
|
lifecycle-runtime-compose = { group = "androidx.lifecycle", name = "lifecycle-runtime-compose", version.ref = "lifecycle" }
|
|
|
|
room-runtime = { group = "androidx.room", name = "room-runtime", version.ref = "room" }
|
|
room-ktx = { group = "androidx.room", name = "room-ktx", version.ref = "room" }
|
|
room-compiler = { group = "androidx.room", name = "room-compiler", version.ref = "room" }
|
|
room-testing = { group = "androidx.room", name = "room-testing", version.ref = "room" }
|
|
|
|
coroutines-android = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-android", version.ref = "coroutines" }
|
|
coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
|
|
|
|
junit = { group = "junit", name = "junit", version.ref = "junit" }
|
|
reorderable = { group = "sh.calvin.reorderable", name = "reorderable", version.ref = "reorderable" }
|
|
|
|
protobuf-kotlin-lite = { group = "com.google.protobuf", name = "protobuf-kotlin-lite", version.ref = "protobuf" }
|
|
protobuf-protoc = { group = "com.google.protobuf", name = "protoc", version.ref = "protobuf" }
|
|
grpc-okhttp = { group = "io.grpc", name = "grpc-okhttp", version.ref = "grpc" }
|
|
grpc-protobuf-lite = { group = "io.grpc", name = "grpc-protobuf-lite", version.ref = "grpc" }
|
|
grpc-stub = { group = "io.grpc", name = "grpc-stub", version.ref = "grpc" }
|
|
grpc-kotlin-stub = { group = "io.grpc", name = "grpc-kotlin-stub", version.ref = "grpcKotlin" }
|
|
grpc-protoc-gen-java = { group = "io.grpc", name = "protoc-gen-grpc-java", version.ref = "grpc" }
|
|
grpc-protoc-gen-kotlin = { group = "io.grpc", name = "protoc-gen-grpc-kotlin", version.ref = "grpcKotlin" }
|
|
|
|
[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" }
|
|
ksp = { id = "com.google.devtools.ksp", version.ref = "ksp" }
|