mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-24 03:47:57 +01:00
Fix dependencies
This commit is contained in:
parent
b3bf19a52b
commit
73708f4a6f
2 changed files with 4 additions and 3 deletions
|
@ -68,10 +68,11 @@ class WotCLI: Callable<Int> {
|
|||
|
||||
private val referenceTime: ReferenceTime
|
||||
get() {
|
||||
return if (time == null) {
|
||||
val cTime = time
|
||||
return if (cTime == null) {
|
||||
ReferenceTime.now()
|
||||
} else {
|
||||
val date = DateUtil.parseUTCDate(time)
|
||||
val date = DateUtil.parseUTCDate(cTime)
|
||||
ReferenceTime.timestamp(date)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ dependencies {
|
|||
exclude(group: "org.pgpainless", module: "pgpainless-core")
|
||||
}
|
||||
|
||||
implementation(project(":pgpainless-core"))
|
||||
api(project(":pgpainless-core"))
|
||||
api(project(":wot-dijkstra"))
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue