mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-12-24 11:57:59 +01:00
Fix dependencies
This commit is contained in:
parent
016c9dfc03
commit
f77522e42f
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