Skip to content

Commit

Permalink
Merge pull request #945 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 853ef03 + 7c77648 commit 55bf286
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 52 deletions.
17 changes: 10 additions & 7 deletions ballerina/Ballerina.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,33 @@
[package]
org = "ballerinax"
name = "java.jdbc"
version = "1.9.0"
version = "1.10.0"
authors = ["Ballerina"]
keywords = ["database", "client", "network", "SQL", "RDBMS", "JDBC"]
repository = "https://github.com/ballerina-platform/module-ballerinax-java.jdbc"
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 = "java.jdbc-native"
version = "1.9.0"
path = "../native/build/libs/java.jdbc-native-1.9.0.jar"
version = "1.10.0"
path = "../native/build/libs/java.jdbc-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"

[[platform.java11.dependency]]
path = "./lib/h2-2.1.212.jar"
scope = "testOnly"

[[platform.java11.dependency]]
path = "../native-image-configs/build/libs/java.jdbc-native-image-configs-1.9.0.jar"
path = "../native-image-configs/build/libs/java.jdbc-native-image-configs-1.10.0-SNAPSHOT.jar"
scope = "testOnly"
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 = "jdbc-compiler-plugin"
class = "io.ballerina.stdlib.java.jdbc.compiler.JDBCCompilerPlugin"

[[dependency]]
path = "../compiler-plugin/build/libs/java.jdbc-compiler-plugin-1.9.0.jar"
path = "../compiler-plugin/build/libs/java.jdbc-compiler-plugin-1.10.0-SNAPSHOT.jar"
52 changes: 31 additions & 21 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 = "auth"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand All @@ -23,7 +23,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "cache"
version = "3.5.0"
version = "3.6.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "constraint"},
Expand All @@ -35,7 +35,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "constraint"
version = "1.2.0"
version = "1.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -44,7 +44,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "crypto"
version = "2.3.1"
version = "2.4.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -54,7 +54,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "file"
version = "1.7.1"
version = "1.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -69,7 +69,7 @@ modules = [
[[package]]
org = "ballerina"
name = "http"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "auth"},
Expand Down Expand Up @@ -98,7 +98,7 @@ dependencies = [
[[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 @@ -118,7 +118,7 @@ modules = [
[[package]]
org = "ballerina"
name = "jwt"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand Down Expand Up @@ -159,6 +159,15 @@ dependencies = [
{org = "ballerina", name = "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.int"
Expand Down Expand Up @@ -230,7 +239,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "log"
version = "2.7.1"
version = "2.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -242,7 +251,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "mime"
version = "2.7.1"
version = "2.8.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -253,7 +262,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "oauth2"
version = "2.8.0"
version = "2.9.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "cache"},
Expand All @@ -267,7 +276,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "observe"
version = "1.0.7"
version = "1.1.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -276,7 +285,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "os"
version = "1.6.0"
version = "1.7.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "io"},
Expand All @@ -286,7 +295,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 @@ -300,7 +309,7 @@ modules = [
[[package]]
org = "ballerina"
name = "task"
version = "2.3.2"
version = "2.4.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"},
Expand All @@ -313,7 +322,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 @@ -322,7 +332,7 @@ modules = [
[[package]]
org = "ballerina"
name = "time"
version = "2.2.4"
version = "2.3.0"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
]
Expand All @@ -333,7 +343,7 @@ modules = [
[[package]]
org = "ballerina"
name = "url"
version = "2.2.3"
version = "2.3.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "jballerina.java"}
Expand All @@ -342,7 +352,7 @@ dependencies = [
[[package]]
org = "ballerina"
name = "uuid"
version = "1.5.1"
version = "1.6.0"
scope = "testOnly"
dependencies = [
{org = "ballerina", name = "crypto"},
Expand Down Expand Up @@ -376,7 +386,7 @@ modules = [
[[package]]
org = "ballerinax"
name = "java.jdbc"
version = "1.9.0"
version = "1.10.0"
dependencies = [
{org = "ballerina", name = "file"},
{org = "ballerina", name = "io"},
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", "JDBC"]
repository = "https://github.com/ballerina-platform/module-ballerinax-java.jdbc"
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
checkstyleToolVersion=7.8.2
Expand All @@ -11,47 +11,47 @@ ballerinaGradlePluginVersion=1.1.0
testngVersion=7.4.0
h2DriverVersion=2.1.212

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

0 comments on commit 55bf286

Please sign in to comment.