refactor: shared -> core
This commit is contained in:
parent
104a77b27e
commit
c912723c78
112 changed files with 133 additions and 140 deletions
|
|
@ -12,7 +12,7 @@ kotlin {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation(projects.shared)
|
||||
implementation(projects.core)
|
||||
implementation(libs.okio)
|
||||
implementation(libs.koin.core)
|
||||
implementation(libs.ktor.client.core)
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import kotlinx.coroutines.sync.withLock
|
|||
import kotlinx.coroutines.withContext
|
||||
import kotlinx.datetime.TimeZone
|
||||
import kotlinx.datetime.toLocalDateTime
|
||||
import moe.lava.banksia.util.log
|
||||
import moe.lava.banksia.core.util.log
|
||||
import java.io.File
|
||||
import kotlin.time.Instant
|
||||
|
||||
|
|
|
|||
|
|
@ -15,9 +15,9 @@ import kotlinx.coroutines.flow.MutableSharedFlow
|
|||
import kotlinx.coroutines.flow.SharedFlow
|
||||
import kotlinx.coroutines.joinAll
|
||||
import kotlinx.coroutines.launch
|
||||
import moe.lava.banksia.Constants
|
||||
import moe.lava.banksia.util.LogScope
|
||||
import moe.lava.banksia.util.log
|
||||
import moe.lava.banksia.core.Constants
|
||||
import moe.lava.banksia.core.util.LogScope
|
||||
import moe.lava.banksia.core.util.log
|
||||
|
||||
private val types = arrayOf(
|
||||
"metro/trip-updates",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
package moe.lava.banksia.server.gtfsrt
|
||||
|
||||
import com.google.transit.realtime.FeedMessage
|
||||
import moe.lava.banksia.util.Point
|
||||
import moe.lava.banksia.core.util.Point
|
||||
|
||||
class RealtimeVehiclePositions(data: FeedMessage) : GtfsRealtime(data) {
|
||||
private val positions = mutableMapOf<String, Point>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue