Skip to content

Commit

Permalink
Merge pull request #749 from kaneeldias/graalvm
Browse files Browse the repository at this point in the history
Mark GraalVM compatibility
  • Loading branch information
TharmiganK committed Jun 16, 2023
2 parents 8377c11 + b4324d4 commit e33d798
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 39 deletions.
15 changes: 9 additions & 6 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
[package]
org = "ballerinax"
name = "postgresql"
version = "1.9.0"
version = "1.10.0"
authors = ["Ballerina"]
keywords = ["database", "client", "network", "SQL", "RDBMS", "PostgreSQL"]
repository = "https://github.com/ballerina-platform/module-ballerinax-postgresql"
icon = "icon.png"
license = ["Apache-2.0"]
distribution = "2201.5.0"
distribution = "2201.7.0"

[platform.java11]
graalvmCompatible = true

[[platform.java11.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "postgresql-native"
version = "1.9.0"
path = "../native/build/libs/postgresql-native-1.9.0.jar"
version = "1.10.0"
path = "../native/build/libs/postgresql-native-1.10.0-SNAPSHOT.jar"

[[platform.java11.dependency]]
groupId = "io.ballerina.stdlib"
artifactId = "sql-native"
version = "1.9.0"
path = "./lib/sql-native-1.9.0.jar"
version = "1.10.0"
path = "./lib/sql-native-1.10.0-20230615-195700-94a9c75.jar"

2 changes: 1 addition & 1 deletion ballerina/CompilerPlugin.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ id = "postgresql-compiler-plugin"
class = "io.ballerina.stdlib.postgresql.compiler.PostgreSQLCompilerPlugin"

[[dependency]]
path = "../compiler-plugin/build/libs/postgresql-compiler-plugin-1.9.0.jar"
path = "../compiler-plugin/build/libs/postgresql-compiler-plugin-1.10.0-SNAPSHOT.jar"
28 changes: 19 additions & 9 deletions ballerina/Dependencies.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

[ballerina]
dependencies-toml-version = "2"
distribution-version = "2201.5.0"
distribution-version = "2201.6.0-20230614-102000-d1aade7d"

[[package]]
org = "ballerina"
name = "crypto"
version = "2.3.1"
version = "2.4.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "time"}
Expand All @@ -22,7 +22,7 @@ modules = [
[[package]]
org = "ballerina"
name = "file"
version = "1.7.1"
version = "1.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -37,7 +37,7 @@ modules = [
[[package]]
org = "ballerina"
name = "io"
version = "1.4.1"
version = "1.5.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.value"}
Expand All @@ -54,6 +54,15 @@ modules = [
{org = "ballerina", packageName = "jballerina.java", moduleName = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "lang.error"
version = "0.0.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]

[[package]]
org = "ballerina"
name = "lang.object"
Expand Down Expand Up @@ -104,7 +113,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "os"
version = "1.6.0"
version = "1.7.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -114,7 +123,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "sql"
version = "1.9.0"
version = "1.10.0"
dependencies = [
{org = "ballerina", name = "io"},
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -131,7 +140,8 @@ name = "test"
version = "0.0.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
{org = "ballerina", name = "jballerina.java"},
{org = "ballerina", name = "lang.error"}
]
modules = [
{org = "ballerina", packageName = "test", moduleName = "test"}
Expand All @@ -140,7 +150,7 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.2.4"
version = "2.3.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand All @@ -151,7 +161,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "postgresql"
version = "1.9.0"
version = "1.10.0"
dependencies = [
{org = "ballerina", name = "crypto"},
{org = "ballerina", name = "file"},
Expand Down
5 changes: 4 additions & 1 deletion build-config/resources/Ballerina.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ keywords = ["database", "client", "network", "SQL", "RDBMS", "PostgreSQL"]
repository = "https://github.com/ballerina-platform/module-ballerinax-postgresql"
icon = "icon.png"
license = ["Apache-2.0"]
distribution = "2201.5.0"
distribution = "2201.7.0"

[platform.java11]
graalvmCompatible = true

[[platform.java11.dependency]]
groupId = "io.ballerina.stdlib"
Expand Down
44 changes: 22 additions & 22 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
group=io.ballerina.stdlib
version=1.9.1-SNAPSHOT
version=1.10.0-SNAPSHOT

puppycrawlCheckstyleVersion=8.18
postgreSQLDriverVersion=42.4.3
Expand All @@ -11,50 +11,50 @@ researchgateReleaseVersion=2.8.0
testngVersion=7.4.0
ballerinaGradlePluginVersion=1.1.0

ballerinaLangVersion=2201.5.0
ballerinaLangVersion=2201.6.0-20230614-102000-d1aade7d

stdlibSqlVersion=1.9.0
stdlibSqlVersion=1.10.0-20230615-195700-94a9c75

# Direct Dependencies
# Level 01
stdlibIoVersion=1.4.1
stdlibTimeVersion=2.2.4
stdlibIoVersion=1.5.0-20230614-150600-6387868
stdlibTimeVersion=2.3.0-20230614-151000-47027a9

# Level 02
stdlibLogVersion=2.7.1
stdlibOsVersion=1.6.0
stdlibLogVersion=2.8.0-20230614-193000-9f7edcd
stdlibOsVersion=1.7.0-20230614-193300-1fcd23f

# Level 03
stdlibFileVersion=1.7.1
stdlibFileVersion=1.8.0-20230615-104200-e8d70cb

# Ballerinax Observer
observeVersion=1.0.7
observeInternalVersion=1.0.6
observeVersion=1.1.0-20230614-170700-802c054
observeInternalVersion=1.1.0-20230614-173400-75b87c5

# Transitive Dependencies
# Level 01
stdlibConstraintVersion=1.2.0
stdlibUrlVersion=2.2.3
stdlibConstraintVersion=1.3.0-20230614-161700-f1a0fb3
stdlibUrlVersion=2.3.0-20230614-141500-7a93dbb

# Level 02
stdlibCryptoVersion=2.3.1
stdlibTaskVersion=2.3.2
stdlibCryptoVersion=2.4.0-20230614-154200-1745f32
stdlibTaskVersion=2.4.0-20230614-193200-996af8b

# Level 03
stdlibCacheVersion=3.5.0
stdlibMimeVersion=2.7.1
stdlibUuidVersion=1.5.1
stdlibCacheVersion=3.6.0-20230615-100200-8b6d451
stdlibMimeVersion=2.8.0-20230614-201600-ffa7634
stdlibUuidVersion=1.6.0-20230615-104100-07dba2e

# Level 04
stdlibAuthVersion=2.8.0
stdlibJwtVersion=2.8.0
stdlibOAuth2Version=2.8.0
stdlibAuthVersion=2.9.0-20230615-113100-5d474fe
stdlibJwtVersion=2.9.0-20230615-112200-5ee0b41
stdlibOAuth2Version=2.9.0-20230615-113100-5eaea6c

# Level 05
stdlibHttpVersion=2.8.0
stdlibHttpVersion=2.9.0-20230615-133700-5613017

# Level 06
stdlibTransactionVersion=1.6.0
stdlibTransactionVersion=1.7.0-20230615-165500-bcec15b

# Ballerina extended library
stdlibPostgresqlDriverVersion=1.3.0

0 comments on commit e33d798

Please sign in to comment.