diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index f09ba69..12bb253 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,13 +1,13 @@ [package] org = "ballerina" name = "time" -version = "2.5.0" +version = "2.6.0" authors = ["Ballerina"] keywords = ["time", "utc", "epoch", "civil"] repository = "https://github.com/ballerina-platform/module-ballerina-time" icon = "icon.png" license = ["Apache-2.0"] -distribution = "2201.8.0" +distribution = "2201.11.0" [platform.java17] graalvmCompatible = true @@ -15,5 +15,5 @@ graalvmCompatible = true [[platform.java17.dependency]] groupId = "io.ballerina.stdlib" artifactId = "time-native" -version = "2.5.0" -path = "../native/build/libs/time-native-2.5.0.jar" +version = "2.6.0" +path = "../native/build/libs/time-native-2.6.0-SNAPSHOT.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index bed40f3..15657a2 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -5,7 +5,7 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.8.0" +distribution-version = "2201.11.0-20241101-105200-f94714be" [[package]] org = "ballerina" @@ -15,6 +15,26 @@ modules = [ {org = "ballerina", packageName = "jballerina.java", moduleName = "jballerina.java"} ] +[[package]] +org = "ballerina" +name = "lang.__internal" +version = "0.0.0" +scope = "testOnly" +dependencies = [ + {org = "ballerina", name = "jballerina.java"}, + {org = "ballerina", name = "lang.object"} +] + +[[package]] +org = "ballerina" +name = "lang.array" +version = "0.0.0" +scope = "testOnly" +dependencies = [ + {org = "ballerina", name = "jballerina.java"}, + {org = "ballerina", name = "lang.__internal"} +] + [[package]] org = "ballerina" name = "lang.error" @@ -24,6 +44,12 @@ dependencies = [ {org = "ballerina", name = "jballerina.java"} ] +[[package]] +org = "ballerina" +name = "lang.object" +version = "0.0.0" +scope = "testOnly" + [[package]] org = "ballerina" name = "test" @@ -31,6 +57,7 @@ version = "0.0.0" scope = "testOnly" dependencies = [ {org = "ballerina", name = "jballerina.java"}, + {org = "ballerina", name = "lang.array"}, {org = "ballerina", name = "lang.error"} ] modules = [ @@ -40,7 +67,7 @@ modules = [ [[package]] org = "ballerina" name = "time" -version = "2.5.0" +version = "2.6.0" dependencies = [ {org = "ballerina", name = "jballerina.java"}, {org = "ballerina", name = "test"} diff --git a/ballerina/time_types.bal b/ballerina/time_types.bal index a2e6393..17b9520 100644 --- a/ballerina/time_types.bal +++ b/ballerina/time_types.bal @@ -135,6 +135,7 @@ public type ZoneOffset readonly & record {| decimal seconds?; |}; +@java:ExternalDependency type ReadWriteZoneOffset record {| int hours; int minutes = 0; diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index f7aa617..f2d4731 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -7,7 +7,7 @@ keywords = ["time", "utc", "epoch", "civil"] repository = "https://github.com/ballerina-platform/module-ballerina-time" icon = "icon.png" license = ["Apache-2.0"] -distribution = "2201.8.0" +distribution = "2201.11.0" [platform.java17] graalvmCompatible = true diff --git a/gradle.properties b/gradle.properties index 0303dbb..9cb1f5b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ org.gradle.caching=true group=io.ballerina.stdlib -version=2.5.1-SNAPSHOT -ballerinaLangVersion=2201.8.0 +version=2.6.0-SNAPSHOT +ballerinaLangVersion=2201.11.0-20241101-105200-f94714be puppycrawlCheckstyleVersion=10.12.0 ballerinaGradlePluginVersion=2.0.1