feat(server/gtfsr): initial impl of gtfsr; archive all data
This commit is contained in:
parent
302bda4f17
commit
a6584ec68c
9 changed files with 1451 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ plugins {
|
|||
alias(libs.plugins.androidLibrary)
|
||||
alias(libs.plugins.ksp)
|
||||
alias(libs.plugins.room)
|
||||
alias(libs.plugins.wire)
|
||||
}
|
||||
|
||||
room {
|
||||
|
|
@ -74,3 +75,10 @@ android {
|
|||
minSdk = libs.versions.android.minSdk.get().toInt()
|
||||
}
|
||||
}
|
||||
|
||||
wire {
|
||||
sourcePath {
|
||||
srcDir("src/commonMain/proto")
|
||||
}
|
||||
kotlin {}
|
||||
}
|
||||
|
|
@ -3,6 +3,7 @@ package moe.lava.banksia
|
|||
object Constants {
|
||||
const val devid: String = ""
|
||||
const val key: String = ""
|
||||
const val opendataKey: String = ""
|
||||
const val serverUrl: String = "https://banksia.lava.moe/api/"
|
||||
// TODO
|
||||
const val devMode: Boolean = false
|
||||
|
|
|
|||
|
|
@ -3,3 +3,7 @@ package moe.lava.banksia.util
|
|||
fun error(tag: String, throwable: Throwable) = error(tag, "", throwable)
|
||||
expect fun log(tag: String, msg: String)
|
||||
expect fun error(tag: String, msg: String, throwable: Throwable? = null)
|
||||
|
||||
class LogScope(private val tag: String) {
|
||||
fun log(msg: String) = log(tag, msg)
|
||||
}
|
||||
|
|
|
|||
1259
shared/src/commonMain/proto/gtfs-realtime.proto
Normal file
1259
shared/src/commonMain/proto/gtfs-realtime.proto
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue