1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-12-24 11:57:59 +01:00

Fix dependencies

This commit is contained in:
Paul Schaub 2023-07-05 17:05:22 +02:00
parent 016c9dfc03
commit f77522e42f
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 4 additions and 3 deletions

View file

@ -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)
}
}

View file

@ -45,7 +45,7 @@ dependencies {
exclude(group: "org.pgpainless", module: "pgpainless-core")
}
implementation(project(":pgpainless-core"))
api(project(":pgpainless-core"))
api(project(":wot-dijkstra"))
}