Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
232 changes: 117 additions & 115 deletions api/expression-parser.api

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repositories {
mavenCentral()
}

version = "1.2.2-SNAPSHOT"
version = "1.3.0-SNAPSHOT"
group = "org.hisp.dhis.lib.expression"

if (project.hasProperty("removeSnapshotSuffix")) {
Expand Down Expand Up @@ -54,6 +54,7 @@ kotlin {
all {
languageSettings.apply {
optIn("kotlin.js.ExperimentalJsExport")
optIn("kotlin.time.ExperimentalTime")
}
}
val commonMain by getting {
Expand Down
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[versions]
kotlin = "2.0.21"
kotlin = "2.2.21"
dokka = "2.0.0"
nexusPublish = "2.0.0"
npmPublish = "3.5.2"
apiCompatibility ="0.17.0"
kotlinxDatetime = "0.6.1"
kotlinxDatetime = "0.7.1"
bignum = "0.3.10"
kotlinJsWrappers = "1.0.0-pre.830"

Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.12-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.13-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package org.hisp.dhis.lib.expression.ast

import kotlinx.datetime.Instant
import kotlinx.datetime.LocalDate
import kotlinx.datetime.TimeZone
import kotlinx.datetime.toLocalDateTime
import org.hisp.dhis.lib.expression.spi.ValueType
import org.hisp.dhis.lib.expression.spi.VariableValue
import kotlin.time.Instant

fun interface Typed {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.hisp.dhis.lib.expression.spi

import kotlinx.datetime.Instant
import kotlinx.datetime.LocalDate
import kotlin.js.JsExport
import kotlin.time.Instant

/**
* A rough classification of what values building blocks expect and return.
Expand Down